1 2 3 4 5 6 7 8 9 10 11 12
Gitlab::Graphql::Authorize.register! Gitlab::Graphql::Present.register! GitlabSchema = GraphQL::Schema.define do use BatchLoader::GraphQL enable_preloading enable_authorization enable_presenting query(Types::QueryType) end