Closed aakoshh closed 5 years ago
My project could benefit from this feature. We have several nested Enums which do not have any generated docs and the link to the Enum is broken.
The templates worked fine for me because the messages and enums are still flattened out, the nesting isn't visible, apart from the long/full name.
Any chance of getting this merged? I'd love to use protoc-gen-doc to generate docs, but I'm working with an object model that has deeply nested definitions.
We would also benefit from that!
Any chance of getting this merged? I tested and its work for me too.
This PR is nearly 1 year old :birthday: what needs to happen for it to be merged?
Apologies for the delay everyone
@pseudomuto I'd like to add a small change to the
template.go
file to support arbitrarily nested types:What is Changing? The
NewTemplate
method's way of collectingMessages
andEnums
.How is it Changing? Instead of listing the messages in the file and the ones immediately nested below them, the template will recursively gather all nested messages and enums regardless of how deep they are.
What Could Go Wrong? Nothing that I can see.