generated

package
v0.0.0-...-2f911e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 11 Imported by: 0

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 {
	Query struct {
		DirectiveSingleNullableArg func(childComplexity int, arg1 *string) int
	}
}

type Config

type Config struct {
	Schema     *ast.Schema
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type DirectiveRoot

type DirectiveRoot struct {
	Noop     func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
	Populate func(ctx context.Context, obj interface{}, next graphql.Resolver, value string) (res interface{}, err error)
}

type QueryResolver

type QueryResolver interface {
	DirectiveSingleNullableArg(ctx context.Context, arg1 *string) (*string, error)
}

type ResolverRoot

type ResolverRoot interface {
	Query() QueryResolver
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL