class Kanji::Graph::Schema
Public Instance Methods
call(query_type, mutation_type)
click to toggle source
# File lib/kanji/graph/schema.rb, line 6 def call(query_type, mutation_type) GraphQL::Schema.define do query -> { query_type } mutation -> { mutation_type } max_depth 10 max_complexity 200 end end