Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type ComplexityRoot ¶
type ComplexityRoot struct { Mutation struct { Flamingo func(childComplexity int) int SetCatched func(childComplexity int, id int, catched bool) int } Pokemon struct { Catched func(childComplexity int) int ID func(childComplexity int) int Name func(childComplexity int) int Type func(childComplexity int) int } Query struct { Flamingo func(childComplexity int) int Pokemon func(childComplexity int, ids []int, catched *bool) int Total func(childComplexity int) int TotalCatched func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type Module ¶
type Module struct{}
Module is an autogenerated dingo Module to bind the root resolver
type MutationResolver ¶
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver }
Click to show internal directories.
Click to hide internal directories.