debian-mirror-gitlab/config/initializers/graphql.rb
2021-04-29 21:17:54 +05:30

5 lines
187 B
Ruby

# frozen_string_literal: true
GraphQL::ObjectType.accepts_definitions(authorize: GraphQL::Define.assign_metadata_key(:authorize))
GraphQL::Schema::Object.accepts_definition(:authorize)