-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
@goTag do not override existing tag #2514
Comments
valllabh
changed the title
@goTag does not override existing tag
@goTag do not override existing tag
Jan 25, 2023
This was referenced Jan 27, 2023
StevenACoffman
added a commit
that referenced
this issue
Jan 27, 2023
…struct tags per #2514 (#2533) * removeDuplicateTags func introduced to fix #2514 * Change to prepend goTag directive Signed-off-by: Steve Coffman <steve@khanacademy.org> * Fix test for field_hooks_are_applied to prepend Signed-off-by: Steve Coffman <steve@khanacademy.org> --------- Signed-off-by: Steve Coffman <steve@khanacademy.org> Co-authored-by: vallabh <vallabh.joshi@gmail.com>
Thanks for reporting this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@goTag
do not override existing tagIdeally it should override existing tag. sole purpose of the directive is to give control to user.
Looks
GoTagFieldHook
just appends new tagsgqlgen/plugin/modelgen/models.go
Line 415 in 866187f
The text was updated successfully, but these errors were encountered: