9b65d4bb41
- All definitions have been replaced by classes: http://graphql-ruby.org/schema/class_based_api.html - Authorization & Presentation have been refactored to work in the class based system - Loaders have been replaced by resolvers - Times are now coersed as ISO 8601
8 lines
193 B
Ruby
8 lines
193 B
Ruby
class GitlabSchema < GraphQL::Schema
|
|
use BatchLoader::GraphQL
|
|
use Gitlab::Graphql::Authorize
|
|
use Gitlab::Graphql::Present
|
|
|
|
query(Types::QueryType)
|
|
# mutation(Types::MutationType)
|
|
end
|