Clarify that .name
can be used on enum values in the API docs
#54679
Labels
area-documentation
Prefer using 'type-documentation' and a specific area label.
type-documentation
A request to add or improve documentation
I keep forgetting you can use
.name
because the only sign that it exists in theEnum
documentation is the in-passing mention thatEnum
has an extension, without mentioning why. It would be nice for the docs to be clearer.I tried submitting a PR to fix this but after more than five months of trying to get it landed I gave up.
The text was updated successfully, but these errors were encountered: