selected

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasAsyncSel

func HasAsyncSel(sels []Selection) bool

Types

type Request

type Request struct {
	Schema               *types.Schema
	Doc                  *types.ExecutableDefinition
	Vars                 map[string]interface{}
	Mu                   sync.Mutex
	Errs                 []*errors.QueryError
	DisableIntrospection bool
}

func (*Request) AddError

func (r *Request) AddError(err *errors.QueryError)

type SchemaField

type SchemaField struct {
	resolvable.Field
	Alias       string
	Args        map[string]interface{}
	PackedArgs  reflect.Value
	Sels        []Selection
	Async       bool
	FixedResult reflect.Value
}

type Selection

type Selection interface {
	// contains filtered or unexported methods
}

func ApplyOperation

func ApplyOperation(r *Request, s *resolvable.Schema, op *types.OperationDefinition) []Selection

type TypeAssertion

type TypeAssertion struct {
	resolvable.TypeAssertion
	Sels []Selection
}

type TypenameField

type TypenameField struct {
	resolvable.Object
	Alias string
}

Jump to

Keyboard shortcuts

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