Cassia Scheffer
Cassia Scheffer
This same question was asked in https://github.com/rails-api/active_model_serializers/issues/2133 You can set the root key by following the guides here: https://github.com/rails-api/active_model_serializers/blob/0-10-stable/docs/general/serializers.md#root If you are looking to disable serializer lookup entirely, you can...
You might want to have a look at the docs on the Root key: https://github.com/rails-api/active_model_serializers/blob/0-10-stable/docs/general/serializers.md#root I believe you're getting this error because the JSON adapter is trying to add a...
Have you tried using the `include` option in your controller? I believe you have to explicitly state the associations you wish to include: https://github.com/rails-api/active_model_serializers/blob/master/docs/general/adapters.md#include-option
You can also see an example of this in the tests: https://github.com/rails-api/active_model_serializers/blob/master/test/action_controller/json/include_test.rb#L43
@patrick99e99 I believe it's for the JSON and JSON API adapter, the docs are a little unclear there. I haven't tested it with the attributes adapter myself.
+1 on this issue! We'd love to see this.
We tested out undici for our gateway application and datadog didn't report any traces for backend services when we used undici. I don't think this issue can be closed until...