mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
According to http://jsonapi.org/format/#document-structure-resource-objects, > Resource objects have the same internal structure, regardless of > whether they represent primary or linked resources. And then http://jsonapi.org/format/#document-structure-resource-object-attributes, > There are four reserved keys in resource objects: > > "id" > "type" > "href" > "links" This commits includes `links` inside of linked resources. |
||
|---|---|---|
| .. | ||
| belongs_to_test.rb | ||
| collection_test.rb | ||
| has_many_embed_ids_test.rb | ||
| has_many_test.rb | ||
| linked_test.rb | ||