active_model_serializers
active_model_serializers copied to clipboard
Embeding ids in ams 0.10.x
I want to ask the same question as this one: https://github.com/rails-api/active_model_serializers/issues/1053
I've come across a few issues that have started the discussion about including support for side-loading associations in 0.10.x, but with that still somewhere down the pipeline, I'm wondering if anyone has gone through the process of re-implementing the 'old' (not json-api) formatting that previous versions of AMS allowed for through use of
embed :ids, include: true
... need to stay on master for caching support, but I'm stuck on where to get started on re-implementing this feature.
Any update?
Additional information:
Even with AMS 0.9.8 and Ruby >= 2.6.6, embed :ids, include: true would not work out.