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
We should allow customization of struct tags through plugins. The plugin would probably need access to some information about the field for which the tag is being generated. We could provide built-in plugins for JSON/YAML tags.
The text was updated successfully, but these errors were encountered:
We would appreciate this feature for our GraphQL endpoints, which could use thriftrw-based schemas.
I.e. in some GraphQL internal services we emit JSON. Currently, that JSON is not typed. We would like to specify the returned JSON with Thrift. However, the rules for JSON field names differ for GraphQL and JSON.
With this feature, our returned JSON could be specified in Thrift. If you make this happen or prioritize, please let us know.
@peter-edge plugins that have access to all the information from the Thrift
files is something we can eventually support. Please create a separate issue
for that. Note that depending on project priorities, we may not be able to get
to that soon.
We should allow customization of struct tags through plugins. The plugin would probably need access to some information about the field for which the tag is being generated. We could provide built-in plugins for JSON/YAML tags.
The text was updated successfully, but these errors were encountered: