summaryrefslogtreecommitdiff
path: root/config/initializers/graphql.rb
blob: f1bc289f1f0acd7c0801ccb9f5a9773d865a8c92 (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

GraphQL::ObjectType.accepts_definitions(authorize: GraphQL::Define.assign_metadata_key(:authorize))
GraphQL::Field.accepts_definitions(authorize: GraphQL::Define.assign_metadata_key(:authorize))

GraphQL::Schema::Object.accepts_definition(:authorize)
GraphQL::Schema::Field.accepts_definition(:authorize)