Improvement on error returned by ListSerializer #8055
Unanswered
shinneider
asked this question in
Ideas & Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I suggest improvement on errors on ListSerializer.
currently the errors of ListSerializer is very bad for error revision.
if i send a list of data, their return only data with errors, ex:
if i need to get data with error, it's necessary to keep sended data, and compare to received error data.
it's very poor for send a lot of data and get errors in data.
my suggestion is improve this to:
Because this return sended data, and allow to check errors just in the response, no need to keep sended data.
just changing
rest_framework/serializers.py::ListSerializer
:to
Beta Was this translation helpful? Give feedback.
All reactions