stackshareio/graphql-cache

Document proc/lambda as cache keys

jeromedalbert opened this issue · 1 comments

We may want to document this in the README:

field :some_field, String, cache: { key: ->(obj) { "#{obj.id}123blah" } }

A PR for this would definitely be welcome!