3bcb04f100
This is mainly the setup of mutations for GraphQL. Including authorization and basic return type-structure.
11 lines
255 B
Ruby
11 lines
255 B
Ruby
class GitlabSchema < GraphQL::Schema
|
|
use BatchLoader::GraphQL
|
|
use Gitlab::Graphql::Authorize
|
|
use Gitlab::Graphql::Present
|
|
use Gitlab::Graphql::Connections
|
|
|
|
query(Types::QueryType)
|
|
|
|
default_max_page_size 100
|
|
mutation(Types::MutationType)
|
|
end
|