jsonapi-rails icon indicating copy to clipboard operation
jsonapi-rails copied to clipboard

Rails gem for fast jsonapi-compliant APIs.

Results 33 jsonapi-rails issues
Sort by recently updated
recently updated
newest added
trafficstars

How to reproduce 1. Clone the repo 2. `bundle` 3. `rake` ``` .I, [2021-11-02T09:37:11.575437 #82869] INFO -- : Completed JSON API rendering (0.64ms) .I, [2021-11-02T09:37:11.585741 #82869] INFO -- : Completed...

The CHANGELOG is very out-of-date.

help wanted

Hi, I am trying to switch from AMS to jsonapi-rails gem, but after creating serializers, I still get an `uninitialized constant GroupsController::SerializableGroup` error message from the gem ``` def index...

I'm using `JSONAPI::Serializable::Resource::KeyFormat` for camel-cased keys. However this breaks inclusion of relationships when the relationship's name is subject to key transformation: ```ruby # app/resources/contact_resource.rb class ContactResource < JSONAPI::Serializable::Resource extend JSONAPI::Serializable::Resource::KeyFormat...

I want to replace dash by underscore in the keys when I deserialize. I tried to alter the Deserializable resource in an initializer : `JSONAPI::Deserializable::Resource.key_formatter = proc {|k| k.to_s.underscore }`...

``` { students: [], teachers: [] } ``` where students and teachers are different modal and each have own serializer.

how to add some custom message like meta on jsonapi_errors ? this is original example `{ "errors": [ { "status": "422", "source": { "pointer": "/data/attributes/password" }, "title": "Unprocessable Entity", "detail":...

Hello, I was trying to return a serializer with a relationship and I noticed that in the relationship field I was always getting `{ meta { included: false } }`...

I have an issue with `jsonapi-rails` (v0.4.0) and rendering relationships. I have a simple model consisting of `Challenge` and `ChallengeAnswer`; a `Challenge` `has_many` `ChallengeAnswer`s, and a `ChallengeAnswer` has a `value`....

Hello, I recently tried to upgrade jsonapi-rails from 0.3.1 to 0.4.0 and I get the following error anywhere I call `JSONAPI::Serializable::Renderer.new` with the exact same params as before: `no implicit...