active_model_serializers icon indicating copy to clipboard operation
active_model_serializers copied to clipboard

Embeding ids in ams 0.10.x

Open twang15 opened this issue 3 years ago • 1 comments

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?

twang15 avatar Apr 22 '21 05:04 twang15

Additional information:

Even with AMS 0.9.8 and Ruby >= 2.6.6, embed :ids, include: true would not work out.

twang15 avatar Apr 22 '21 05:04 twang15