jsonapi-rb / jsonapi-rails

Rails gem for fast jsonapi-compliant APIs.
http://jsonapi-rb.org
MIT License
319 stars 63 forks source link

Caching doesn't allow use of object attributes #100

Open simmerz opened 5 years ago

simmerz commented 5 years ago

I have a need to set a cache key based on attributes in my model, but I'm unable to access these from the serializer. Is there already a way to do this that I can't see?