You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not a bug report, more like a feature request. Currently, if we add additional tags in the generated model structures, and then re-generate after adding more types in the schema, the manually added tags get overwritten. So it requires to add those tags again after each generate. This could be made automatic by allowing the goField directive to have additional tag string or strings to include in the generated models. If i was not clear please let me know. Also if there is already some approach to take care of additional tags in the models, i ll be glad to check that out.
The text was updated successfully, but these errors were encountered:
Though this is not adding tags to goField, #1650 would resolve this issue as you could create a custom directive which adds the tags each time during generation.
It is not a bug report, more like a feature request. Currently, if we add additional tags in the generated model structures, and then re-generate after adding more types in the schema, the manually added tags get overwritten. So it requires to add those tags again after each generate. This could be made automatic by allowing the
goField
directive to have additional tag string or strings to include in the generated models. If i was not clear please let me know. Also if there is already some approach to take care of additional tags in the models, i ll be glad to check that out.The text was updated successfully, but these errors were encountered: