rpkilby / dj-jsonapi

A JSON-API server implementation built for Django on top of Django Rest Framework
Other
0 stars 1 forks source link

Resource/relationship CRUD should aggregate validation and relationship errors #8

Open rpkilby opened 9 years ago

rpkilby commented 9 years ago

ie, if a POST /comments has attribute validation errors, as well as a permissions issue (such as setting the comment's author), all of these errors should processed and returned in one request, not across multiple requests. This should leverage the exceptions.ErrorList exception.