-
Notifications
You must be signed in to change notification settings - Fork 101
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
WIP for discussion: Custom descriptor options #280
Conversation
- add SUPPORT_PATH, PROTOS_PATH helpers in specs
Custom field / method options can be added by extending the base proto descriptor
enum names are not required to be Capitalized, but ruby constants are. Add option to UPCASE all enum names
70b136b
to
641f788
Compare
I think the best path forward is the one that keeps the potentially dangerous changes together so that the maintainers can focus on the PRs that matter most. I suggest:
|
Sounds Good. I'm going to trickle the PRs in so I don't have to rebase all over the place: #281 (fix rspec warnings) |
Fix for |
Consolidate, cleanup, and refresh protos from upstream: #283 |
Add missing deprecation requires: #284 |
First feature PR, add |
Closing this PR for now. Will open a new PR for the custom options / extensions after the others are merged. |
This is a large PR with a ton of stuff jumbled together, but I have questions about how to slice it.
Objections to moving all the test protos to
spec/support/protos
? This would include*.proto
,*.pb.rb
, and*.bin
files (proto file, generated code, and raw proto bytes).1 PR with a bunch of unrelated commits (e.g. 1 commit to cleanup
raise_error
warnings, 1 commit with an option to upcase enum names, 1 commit to move spec files, etc) vs a PR / commit?Thoughts on adding a flag for generating gRPC specific service stubs?
Note: one reason this PR appears so large is that I refreshed some of the google unittest.proto files from upstream (will break that into either its own commit or its own PR pending question 2 above).
cc @lukaszx0