mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Currently, 0.10.0.pre doesn't support `meta` option in `render`. This way, there's no way to support features such as pagination. `0.9` had this feature in place. This adds support for it, as well as fixes small things in README.md. This won't support `meta` in array responses because arrays don't have keys, obviously. Also, the response should have a `root` key, otherwise no `meta` will be included. In some cases, for example using JsonApi, ArraySerializer will result in a response with a `root`. In that case, `meta` will be included. |
||
|---|---|---|
| .. | ||
| adapter_for_test.rb | ||
| associations_test.rb | ||
| attribute_test.rb | ||
| attributes_test.rb | ||
| configuration_test.rb | ||
| generators_test.rb | ||
| meta_test.rb | ||
| serializer_for_test.rb | ||
| urls_test.rb | ||