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 { CreateRouter func(childComplexity int, input model.NewRouter) int } Query struct { Hello func(childComplexity int) int Routers func(childComplexity int) int Story func(childComplexity int) int } Router struct { Component func(childComplexity int) int Exact func(childComplexity int) int ID func(childComplexity int) int Icon func(childComplexity int, theme *string) int Order func(childComplexity int) int Path func(childComplexity int) int Title func(childComplexity int) int } UserStory struct { Dependency func(childComplexity int) int ID func(childComplexity int) int Points func(childComplexity int) int Priority func(childComplexity int) int Risk func(childComplexity int) int Story func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MutationResolver ¶
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver UserStory() UserStoryResolver }
Click to show internal directories.
Click to hide internal directories.