-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate single file protocol definition #187
Comments
I think this could theoretically be generated by starting with the application-specific TX: https://github.com/iov-one/weave/blob/master/cmd/bnsd/app/codec.proto As this is the canonical list of what functionality is available in that app. |
Alternatively we can merge all .proto files into a single docs page using protoc-gen-doc. E.g. input: Booking.proto, Customer.proto, Vehicle.proto |
Great proposal. To refine this issue, it is adding a script to the Makefile to generate such docs (much as we generate the go code from protobuf now), as well as adding those generated docs to the repo (and maybe CI validates they are up to date on eg. tagged releases) |
To make this actionable: One PR:
Second PR:
|
Closed by #355 |
To get an overview about what functionality exists, it would be cool to see a single document defining the protocol.
Features on the whichlist are
I am thinking about a single merged .proto file for example.
The text was updated successfully, but these errors were encountered: