Adds support for top-level links to JsonApi adapter

http://jsonapi.org/format/#document-top-level

fix failing tests

support for top-level links limited to jsonapi adapter

Move docs from README to docs/ dir

move links to json-api adapter & create Links class to hold links data
This commit is contained in:
Leandro Cesquini Pereira
2015-07-24 23:05:52 -03:00
parent 72c2c9f0d7
commit 1844c162f1
7 changed files with 195 additions and 0 deletions

View File

@@ -65,6 +65,8 @@ Features:
CollectionSerializer for clarity, add ActiveModelSerializers.config.collection_serializer (@bf4)
- [#1295](https://github.com/rails-api/active_model_serializers/pull/1295) Add config `serializer_lookup_enabled` that,
when disabled, requires serializers to explicitly specified. (@trek)
- [#1247](https://github.com/rails-api/active_model_serializers/pull/1247) Add top-level links (@beauby)
* Add more tests and docs for top-level links (@leandrocp)
Fixes: