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
..however, then we can no longer rename fields using json tags; that is, the naming strategy forces the responses to always follow the naming strategy. This can be too restrictive in a production environment where we want a separation between the data and API models.
One of the cool features of this library is that we can set field naming strategy like so...
extra.SetNamingStrategy(extra.LowerCaseWithUnderscores)
..however, then we can no longer rename fields using
json
tags; that is, the naming strategy forces the responses to always follow the naming strategy. This can be too restrictive in a production environment where we want a separation between the data and API models.PR #275 proposes a fix for this issue.
The text was updated successfully, but these errors were encountered: