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 TodoAdd func(childComplexity int, user string, task string) int TodoDone func(childComplexity int, todo string, done bool) int } Query struct { Flamingo func(childComplexity int) int User func(childComplexity int, id string) int } Todo struct { Done func(childComplexity int) int ID func(childComplexity int) int Task func(childComplexity int) int } User struct { Attributes func(childComplexity int) int Name func(childComplexity int) int Nicknames func(childComplexity int) int Todos func(childComplexity int) int } User_Attributes struct { Get func(childComplexity int, key string) int Keys func(childComplexity int) int } }
type Config ¶
type Config struct { Schema *ast.Schema Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
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 User() UserResolver }
Click to show internal directories.
Click to hide internal directories.