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

go_struct_tags removes json tag #22

Open
PumpkinSeed opened this issue Jan 24, 2023 · 0 comments
Open

go_struct_tags removes json tag #22

PumpkinSeed opened this issue Jan 24, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@PumpkinSeed
Copy link
Member

If we use go_struct_tags to define the additional tags it is remove the tag if it's not on the list. Special case when we add it like this: (go_struct_tags) = "form=first_name", because this will remove the json tag created by the proto generator.

Make sure that the go_struct_tags only add or overwrite tags but never remove them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants