Render multiple invalid AR objects
tiagopog opened this issue · 0 comments
tiagopog commented
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