selected

package
v0.0.0-...-c7a6c99 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: BSD-2-Clause Imports: 10 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               *schema.Schema
	Doc                  *query.Document
	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 *query.Operation) []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