Skip to content
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

Use different field name in gateway #1197

Closed
Glyphack opened this issue Apr 6, 2020 · 1 comment
Closed

Use different field name in gateway #1197

Glyphack opened this issue Apr 6, 2020 · 1 comment

Comments

@Glyphack
Copy link

Glyphack commented Apr 6, 2020

Is it possible to use different name from proto file for a field In gateway?
Suppose I have a message with a field named new_name, I want to be able use old_name field in gateway for this field.
Can gateway marshaller fill the new_name field with value in the old_name?

@johanbrandhorst
Copy link
Collaborator

Could you please reach out to us on the #grpc-gateway slack channel on Gophers slack (https://invite.slack.golangbridge.org/) for these type of support questions? The issue tracker is not the right place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants