DmitryTsepelev/graphql-ruby-fragment_cache

Global context resolver should accept symbols along with lambdas

DmitryTsepelev opened this issue · 0 comments

use GraphQL::FragmentCache, context_key: ->(context) { context[:current_user_id] }
use GraphQL::FragmentCache, context_key: : current_user_id