-
Notifications
You must be signed in to change notification settings - Fork 162
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
API validationerror response in CommentCreate view #316
Comments
I do agree. I think I did it so to ease the reading of The only concern I see, as you pointed out, is that it breaks backward compatibility. It can be fixed in rel-3.0.0, but it's quite dirty yet. Also v3 is very different from v2, it heavily breaks backward compatibility. If you feel like taking a look and fix this particular piece of code, just |
Hi Danirus, |
Clone the repository and checkout the
Then, yet in the I haven't used the API since I started the branch, but most of the methods should work. The feedback method doesn't exist anymore. Instead I added an Use |
Just pushed changes in rel-3.0.0 to configure the tests. |
Hi @danirus, |
It's never too late... :-) |
Here we use
iterkeys
and code returns only name of the field which hasn't passed validation.Also I think we should return full dictionary with field name and error message like it's done in the django-rest-framework:
But this could be breaking change for someone.
The text was updated successfully, but these errors were encountered: