active_model_serializers: 0.10.0.pre does not include meta in response
I was able to include meta info when I set ActiveModel::Serializer.config.adapter = :json_api
. However, when I remove this option, there is no meta
in the response. meta
is included in the response once I switch to 0.8.3
version.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 16 (13 by maintainers)
Commits related to this issue
- Fix #876 - include meta when using json adapter with custom root — committed to Current-RMS/active_model_serializers by chrisbranson 9 years ago
Why in 0.10 is not posible to include
meta
in Array responses? I think it has a great potencial, for example: pagination attributes.Is this a bug or there is a good reason behind this? I’ll be glad to help if you need something.