Global context resolver should accept symbols along with lambdas
DmitryTsepelev opened this issue · 0 comments
DmitryTsepelev commented
use GraphQL::FragmentCache, context_key: ->(context) { context[:current_user_id] }
use GraphQL::FragmentCache, context_key: : current_user_id