Documentation ¶
Index ¶
- type FetchTreeProcessor
- type PlanArrayVisitor
- type PlanEnterArrayVisitor
- type PlanEnterFieldVisitor
- type PlanEnterObjectVisitor
- type PlanFieldVisitor
- type PlanLeaveArrayVisitor
- type PlanLeaveFieldVisitor
- type PlanLeaveObjectVisitor
- type PlanObjectVisitor
- type PlanVisitor
- type PlanWalker
- type Processor
- type ProcessorOption
- func DisableAddMissingNestedDependencies() ProcessorOption
- func DisableCreateConcreteSingleFetchTypes() ProcessorOption
- func DisableCreateParallelNodes() ProcessorOption
- func DisableDeduplicateSingleFetches() ProcessorOption
- func DisableExtractFetches() ProcessorOption
- func DisableMergeFields() ProcessorOption
- func DisableResolveInputTemplates() ProcessorOption
- type ResponseTreeProcessor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchTreeProcessor ¶
type FetchTreeProcessor interface {
ProcessFetchTree(root *resolve.FetchTreeNode)
}
type PlanArrayVisitor ¶
type PlanArrayVisitor interface { PlanEnterArrayVisitor PlanLeaveArrayVisitor }
type PlanEnterArrayVisitor ¶
type PlanEnterFieldVisitor ¶
type PlanEnterObjectVisitor ¶
type PlanFieldVisitor ¶
type PlanFieldVisitor interface { PlanEnterFieldVisitor PlanLeaveFieldVisitor }
type PlanLeaveArrayVisitor ¶
type PlanLeaveFieldVisitor ¶
type PlanLeaveObjectVisitor ¶
type PlanObjectVisitor ¶
type PlanObjectVisitor interface { PlanEnterObjectVisitor PlanLeaveObjectVisitor }
type PlanVisitor ¶
type PlanVisitor interface { PlanObjectVisitor PlanArrayVisitor }
type PlanWalker ¶
type PlanWalker struct { CurrentFields []*resolve.Field CurrentObjects []*resolve.Object // contains filtered or unexported fields }
func (*PlanWalker) SetSkip ¶
func (e *PlanWalker) SetSkip(skip bool)
func (*PlanWalker) Walk ¶
func (e *PlanWalker) Walk(data *resolve.Object, info *resolve.GraphQLResponseInfo)
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
func NewProcessor(options ...ProcessorOption) *Processor
type ProcessorOption ¶
type ProcessorOption func(*processorOptions)
func DisableAddMissingNestedDependencies ¶
func DisableAddMissingNestedDependencies() ProcessorOption
func DisableCreateConcreteSingleFetchTypes ¶
func DisableCreateConcreteSingleFetchTypes() ProcessorOption
func DisableCreateParallelNodes ¶
func DisableCreateParallelNodes() ProcessorOption
func DisableDeduplicateSingleFetches ¶
func DisableDeduplicateSingleFetches() ProcessorOption
func DisableExtractFetches ¶
func DisableExtractFetches() ProcessorOption
func DisableMergeFields ¶
func DisableMergeFields() ProcessorOption
func DisableResolveInputTemplates ¶
func DisableResolveInputTemplates() ProcessorOption
Click to show internal directories.
Click to hide internal directories.