jsonapi-rb / jsonapi-rails

Rails gem for fast jsonapi-compliant APIs.
http://jsonapi-rb.org
MIT License
321 stars 63 forks source link

Using `post` as deserializable resource key loses data #21

Closed LeakyBucket closed 7 years ago

LeakyBucket commented 7 years ago

As per a discussion on Gitter.

It would appear that using post as the deserializable_resource key results in an empty hash at that key.

The data looks good at the Rack level but at some point between Rack and the Controller action the key is stripped of any nested data.

Rails 5.0.2