mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Include adapter in cache key
Confirm caching attributes with different key json_api vs. attributes adapter Adapted from @kevintyll's original test https://github.com/rails-api/active_model_serializers/pull/1644#issuecomment-204147094
This commit is contained in:
committed by
Benjamin Fleischer
parent
e118599052
commit
16a3f93ce9
@@ -3,6 +3,8 @@
|
||||
Breaking changes:
|
||||
|
||||
Features:
|
||||
- [#1644](https://github.com/rails-api/active_model_serializers/pull/1644) Include adapter name in cache key so
|
||||
that the same serializer can be cached per adapter. (@bf4 via #1346 by @kevintyll)
|
||||
- [#1642](https://github.com/rails-api/active_model_serializers/pull/1642) Prefer object.cache_key over the generated
|
||||
cache key. (@bf4 via #1346 by @kevintyll)
|
||||
- [#1637](https://github.com/rails-api/active_model_serializers/pull/1637) Make references to 'ActionController::Base.cache_store' explicit
|
||||
|
||||
Reference in New Issue
Block a user