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 { FileNode struct { Children func(childComplexity int) int Description func(childComplexity int) int ID func(childComplexity int) int IsFolder func(childComplexity int) int MimeType func(childComplexity int) int Name func(childComplexity int) int Size func(childComplexity int) int State func(childComplexity int) int } Mutation struct { CreateFileNode func(childComplexity int, meta dto.CreateFileNode) int RemoveFileNode func(childComplexity int, id string) int UpdateFileNode func(childComplexity int, id string, newMeta dto.UpdateFileNode) int } Query struct { GetFileNode func(childComplexity int, path string) 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 }
Click to show internal directories.
Click to hide internal directories.