You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behaviour is actual for other adapter types. Probably the best solution to fix that is to include fields list in cache key, to make object from each action be cached separately. If you ok with this idea, pls let me know and I'll try to provide PR with a fix.
The text was updated successfully, but these errors were encountered:
Expected behavior vs actual behavior
I have 2 following Rails actions:
Caching is enabled in environment config:
Fragment of response from first action:
Expected behaviour
Response from second action contains full list of fields defined in corresponding serializer:
Actual behaviour
Response from second action contains only
full-name
attribute in user objects:Environment
ActiveModelSerializers Version:
0.10.10
Output of
ruby -e "puts RUBY_DESCRIPTION"
:ruby 2.5.6p201 (2019-08-28 revision 67796) [x86_64-darwin17]
OS Type & Version:
MacOS 10.13.6
Integrated application and version:
Rails 5.1.6.2
Additonal helpful information
This behaviour is actual for other adapter types. Probably the best solution to fix that is to include fields list in cache key, to make object from each action be cached separately. If you ok with this idea, pls let me know and I'll try to provide PR with a fix.
The text was updated successfully, but these errors were encountered: