blob: 143ccf92c85e94aa3d4ced772e46c1095ec8c167 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
Gitlab::Graphql::Authorize.register!
GitlabSchema = GraphQL::Schema.define do
use BatchLoader::GraphQL
enable_preloading
enable_authorization
mutation(Types::MutationType)
query(Types::QueryType)
end
|