-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Better errors when serializer has incorrectly named field. #2262
Labels
Milestone
Comments
picturedots
changed the title
Better error messaging if serializer Meta fields list has a bad value
Better error messaging if model serializer has a field not mapped to a model field or property
Dec 12, 2014
tomchristie
changed the title
Better error messaging if model serializer has a field not mapped to a model field or property
Better errors when serializer has incorrectly named field.
Dec 13, 2014
This was referenced Mar 9, 2017
This was referenced Oct 16, 2017
This was referenced Nov 6, 2017
This was referenced Nov 14, 2017
This was referenced Dec 20, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I have a mistake in my model serializer where there's a serializer field name that isn't mapped to a field in the model, e.g.
then the serializer fails silently and by returning no no data. It would be nice for debugging if the serialization process would issue a warning.
The text was updated successfully, but these errors were encountered: