graphql-cache icon indicating copy to clipboard operation
graphql-cache copied to clipboard

Document proc/lambda as cache keys

Open jeromedalbert opened this issue 6 years ago • 1 comments
trafficstars

We may want to document this in the README:

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

jeromedalbert avatar Mar 26 '19 00:03 jeromedalbert

A PR for this would definitely be welcome!

thebadmonkeydev avatar Mar 26 '19 03:03 thebadmonkeydev