-
Notifications
You must be signed in to change notification settings - Fork 78
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
Use unique struct comment tag name #44
Comments
Let me see if I understand you correctly. I assume the semantics of that tag should be identical to the If so. This is something that we have been discussing. I'll revive that discussion. |
Yeah it's how the gorethink and mgo drivers work for rethinkdb and mongodb. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be beneficial and make it more inline with many other go drivers for other databases to use a unique name for the json marshal/unmarshalling. One specific use case is have a particular field used as a query field but I don't want that field saved to the database. In the example below i may have an http request with "parent_container_id" populated to have it search for a particular container, but I don't need that data saved into arangodb. So currently I am forced to build an additional struct just to omit that field.
The text was updated successfully, but these errors were encountered: