We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@derive Jason.Encoder
When passing an invalid option, eg:
@derive {Jason.Encoder, invalid: [:__meta__]}
It returns the following error: cannot encode metadata from the :__meta__ field for CrosswordsApi.Users.User to JSON.
cannot encode metadata from the :__meta__ field for CrosswordsApi.Users.User to JSON.
Could the error be explicit that expect or only should be passed as valid options only?
expect
only
The text was updated successfully, but these errors were encountered:
Yes, that makes sense. PRs welcome!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Current behavior
When passing an invalid option, eg:
It returns the following error:
cannot encode metadata from the :__meta__ field for CrosswordsApi.Users.User to JSON.
Expected behavior
Could the error be explicit that
expect
oronly
should be passed as valid options only?The text was updated successfully, but these errors were encountered: