-
Currently, the jsonapi adapter adds resource relationships as link objects with ids and types. The jsonapi spec also allows the the resource relationship to be defined as a URL (see http://jsonapi.org…
-
I've noticed that when I define associations in my serializers AMS winds up loading up a ton of data to meet the JSON API spec. Many of these relationships don't actually need to be loaded, specifical…
bdmac updated
8 years ago
-
### **tl;dr**
Older versions of AMS had a `filter`feature that older users are used to. We would like to bring this to 0.10.x.
---
Older versions of AMS had a `filter`feature that older users are u…
-
When using sparse fieldsets in combination with includes on 0.10.0rc4 (and master), the serialized json api document is missing the `relationships` top level key, but the `included` key is still prese…
-
each_serializer options seems not to work in 0.9.0
```
render json: collection, serializer: false, each_serializer: EachSerializer
```
insead of specified serializer, it just returns serialised obje…
-
Following the README, I'm trying to interject an authorization step across all resources. I've got a base resource that looks like this:
```
module Api
module V1
class BaseResource …
-
Using
roar (1.0.4)
representable (2.3.0)
uber (~> 0.0.7)
I have an Event model - let's say for simplicity it just has a title.
```
class Event < ActiveRecord::Base
end
# == Schema Information
#…
-
Also we should be able to include additional metadata besides id.
In order to do that we will have to change the definition (return) of **`getRelationshipBy`** methods. (code breaking change)
``` php…
-
I have a versioned api that I'm trying to implement active model serializers in. My models are not namespaced but my controllers and serializers are.
Friendship Model
```
class Friendship < Activ…
btate updated
8 years ago
-
I'm trying to create a controller test using `MiniTest` to test my `JSONAPI::ResourceController`. Most of the actions work fine from within the test (index, show, update, etc...), but when I try to ca…