Skip to content
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

[rest api] improve error messages, and return item object upon create/update #443

Merged
merged 2 commits into from
May 7, 2017

Conversation

mistercrunch
Copy link
Collaborator

@mistercrunch mistercrunch commented Mar 30, 2017

@dpgaspar, now returning form.errors on error, and the item on success

We're trying to leverage the REST api beyond the list and show endpoints, and I was able to hook up the create after a bit of wrestling with CSRF

@mistercrunch mistercrunch changed the title [rest api] surface the validation errors in the json response [rest api] improve error messages, and return item object upon create/update Mar 30, 2017
@mistercrunch mistercrunch merged commit 7e120fe into dpgaspar:master May 7, 2017
@mistercrunch mistercrunch deleted the rest_errors branch May 7, 2017 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant