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

Render multiple invalid AR objects #82

Open
tiagopog opened this issue Jan 17, 2018 · 0 comments
Open

Render multiple invalid AR objects #82

tiagopog opened this issue Jan 17, 2018 · 0 comments

Comments

@tiagopog
Copy link
Owner

tiagopog commented Jan 17, 2018

Currently there's no support to render multiple invalid AR objects like this:

user = User.new
user.valid? #=> false

post = user.posts.new
post.valid? #=> false

jsonapi_utils json: [user, post], status: :unprocessable_entity
@tiagopog tiagopog changed the title Render multiple invalid AR objets Render multiple invalid AR objects Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant