mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Per https://github.com/rails-api/active_model_serializers/pull/1017#discussion_r39003855
comment by sandstrom in discussion of the inherited hook
> I'm thinking that it would be better to register adapters manually, without using the hook, i.e.
> have people call ActiveModel::Serializer::Adapter.register directly (perhaps in an initializer).
> Possibly, some inspiration can be taken from how ActiveJob adapters are wired[1].
> [1]
|
||
|---|---|---|
| .. | ||
| adapter_for_test.rb | ||
| association_macros_test.rb | ||
| associations_test.rb | ||
| attribute_test.rb | ||
| attributes_test.rb | ||
| cache_test.rb | ||
| configuration_test.rb | ||
| fieldset_test.rb | ||
| meta_test.rb | ||
| options_test.rb | ||
| root_test.rb | ||
| serializer_for_test.rb | ||