googleapis / api-linter

A linter for APIs defined in protocol buffers.
https://linter.aip.dev/
Apache License 2.0
558 stars 137 forks source link

fix(AIP-123): allow name in nested messages #1325

Closed noahdietz closed 5 months ago

noahdietz commented 5 months ago

It is reasonable to allow the use of a name field in a nested message since nested messages are most often authored as a small piece of a larger message, thus never really candidates for being a resource.

noahdietz commented 5 months ago

thanks for sending this! could you update the rule docs as well with this exception?

Yep! Done.