-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Support json names in field mask generation #1050
Support json names in field mask generation #1050
Conversation
Added tests for using jsonpb with OrigName: false Added benchmarks for FieldMaskFromRequestBody called with a message descriptor
Thankfully this doesn't look like it's significantly slower than before:
vs
|
I don't understand the bazel error well enough to say if it's real: https://circleci.com/gh/grpc-ecosystem/grpc-gateway/4473?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link @drigz @achew22 please bazel police come to my aid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This includes a change to the runtime package, so we will likely have to release a new minor version immediately after merge to stem the flow of people raising issues that are rooted in installing the gateway the wrong way.
I'm not sure that I follow, but in any case a new release sounds good to me 😄 |
Are you able to poke it to re-run the workflow? |
Yes |
:( |
This is surely a random error. I'll poke it again. |
Hrm, that seems worse |
I do have some pretty long names in the tests here, they run fine locally, but maybe that's the issue? |
Nah we get the occasional Bazel error, we're working on it: #968. |
Okay, I ran
This seems likely to be legitimate since I've added |
Looks like you need to manually add it as a dep for the :examplepb_go_proto target. I don't know enough about Gazelle to know if this should have been done automatically, but you could try filing an issue.
|
Thanks @drigz, that did the trick. I had to add a |
Aargh, "it worked on my machine":tm:
|
🔨 |
Thanks for your contribution! |
* Support json names in field mask generation Added tests for using jsonpb with OrigName: false Added benchmarks for FieldMaskFromRequestBody called with a message descriptor * Add descriptor dependency to go_proto_library
Added tests for using jsonpb with OrigName: false
Added benchmarks for FieldMaskFromRequestBody called with a message descriptor