mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
We were not previously cloning the type setting into the dynamically generated cached/non-cached serializers for a given fragment-cached serializer. This led to the type generated for JsonApi having the wrong value when fragment caching is enabled by adding either :except or :only options to cache. This pulls the type setting from the fragment-cached serializer forward onto the dynamic caching classes so it is preserved in the output. |
||
|---|---|---|
| .. | ||
| adapter | ||
| adapter.rb | ||
| array_serializer.rb | ||
| association.rb | ||
| associations.rb | ||
| attribute.rb | ||
| attributes.rb | ||
| belongs_to_reflection.rb | ||
| caching.rb | ||
| collection_reflection.rb | ||
| collection_serializer.rb | ||
| configuration.rb | ||
| field.rb | ||
| fieldset.rb | ||
| has_many_reflection.rb | ||
| has_one_reflection.rb | ||
| include_tree.rb | ||
| links.rb | ||
| lint.rb | ||
| reflection.rb | ||
| singular_reflection.rb | ||
| type.rb | ||
| version.rb | ||