jsonapi_parameters
jsonapi_parameters copied to clipboard
Rails-way to consume JSON:API input
Adding mutant for tests
Solves issue #48 Added configurable client_id_prefix parameter which is taken into consideration when parsing parameters. All IDs starting with client_id_prefix will be ignored. This feature gives you the option to...
Thank you for this library; it has saved us a lot of time. If my reading of [this previous issue](https://github.com/visualitypl/jsonapi_parameters/issues/20) is correct, it appears that initially this library started out...
I've noticed that array data in a request body isn't supported and it's actually a part of the JSON:API specification. https://jsonapi.org/format/#crud-updating-to-many-relationships Example body: ``` PATCH /articles/1/relationships/tags HTTP/1.1 Content-Type: application/vnd.api+json Accept:...
Are there any plans to support polymorphic relationships? We have a few relationships in our API where it would be useful to gain access to the type along with the...
Proposed change to not use ActiveModel::Validations. TODO: - Test output of those validation errors - Meta and errors should be optional (currently validator returns that as schema errors)
Unknown(s), to debate(s), discussables: * Where should we raise JsonApi::Parameters translator errors? In which cases? This is important, because if we do not raise an error, then in the default...