jsonapi-rb / jsonapi-rails

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

Expose deserialization mapping to the controller #12

Closed beauby closed 7 years ago

beauby commented 7 years ago

Ref jsonapi-rb/deserializable#6 This is useful for generating appropriate source pointers in errors.

beauby commented 7 years ago

Closing as this is done (the reverse mapping is accessible through request.env['jsonapi_deserializable.reverse_mapping']).