Description of the problem / feature request:
When using bazel 5.0.0rc3, declare a module tag similar to:
mytag = tag_class(
attrs = {
"target": attr.label(),
},
)
If the tag is used in MODULE.bazel file without a value (eg. mytag()), then in the module's implementation function calls to mytag.target will fail, whereas it's expected they return None, as happens with empty attributes on repository and regular rules.
Description of the problem / feature request:
When using bazel 5.0.0rc3, declare a module tag similar to:
If the tag is used in
MODULE.bazelfile without a value (eg.mytag()), then in the module's implementation function calls tomytag.targetwill fail, whereas it's expected they returnNone, as happens with empty attributes on repository and regular rules.