-
## Expected Behavior
When making requests with an invalid filter, I would expect to have an error raised.
This can be set on Ransack with the following configuration:
```ruby
Ransack.configure d…
-
something like: https://github.com/json-api/json-api/issues/940
basically, if you have a tree structure, where your relationships are parent/children, you can never get all the children.
-
I work on an app where one of our API clients would like to customize an error message shown to the user. The server is using jsonapi-rails (version 0.3.1), with the default error serializer, `Seriali…
-
Hi guys, I had a problem when trying to do something like this
```ruby
class GroupUserSerializer < ApplicationSerializer
attributes = %i[example1 example2]
attributes.each { |attr| attribut…
-
I've had my eye on this project since it was announced back in '18. I work on a large JSON API that uses ActiveModelSerializers, and we've been "stuck" on the 0.8 version of the gem ever since that p…
-
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 im…
-
In 0.8.3, I could 'create' a PORO object, and let the id of the object be nil, and everything would render well, i.e.:
```ruby
class Poro
def id
nil
end
def save
# some logic
…
-
Hi,
When my model is invalid I render the response (from controller) like this:
`render jsonapi_errors: activity.errors, status: :unprocessable_entity`
It serializes the model error as follow…
-
```
rails (4.2.8)
jsonapi-utils (0.4.9)
jsonapi-resources (~> 0.8.0)
```
I have a nested resource where the `index` action has a code path that executes `resource_params` which ends up producin…
-
From https://github.com/fotinakis/jsonapi-serializers/blob/master/lib/jsonapi-serializers/serializer.rb#L340-L356
The problem is, the lib assumes that the errors hash is an activemodel hash if it res…