-
Notifications
You must be signed in to change notification settings - Fork 51
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
BUG: Field containing number are are inconsistent with proto JSON Mapping done by gateway #52
Comments
IMHO this the generated code incompatible with the |
This was referenced May 31, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the message filed contains number it's name in the generated typescript is not consistent with the JSON Mapping done by the
grpc-gateway
runtime. See example below.Example input message:
Result:
Expected result
Generator uses
fieldName
function that effectively usesstrcase.ToLoweCamel
that also uppers the case of characters after any number.The text was updated successfully, but these errors were encountered: