Documentation ¶
Index ¶
- Constants
- type Factory
- type IntrospectionConfigFactory
- type Planner
- func (p *Planner) ConfigureFetch() plan.FetchConfiguration
- func (p *Planner) ConfigureSubscription() plan.SubscriptionConfiguration
- func (p *Planner) DataSourcePlanningBehavior() plan.DataSourcePlanningBehavior
- func (p *Planner) DownstreamResponseFieldAlias(_ int) (alias string, exists bool)
- func (p *Planner) EnterField(ref int)
- func (p *Planner) Register(visitor *plan.Visitor, _ plan.DataSourceConfiguration, _ bool) error
- type Source
Constants ¶
View Source
const ( SchemaRequestType requestType = iota + 1 TypeRequestType TypeFieldsRequestType TypeEnumValuesRequestType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(introspectionData *introspection.Data) *Factory
type IntrospectionConfigFactory ¶
type IntrospectionConfigFactory struct {
// contains filtered or unexported fields
}
func NewIntrospectionConfigFactory ¶
func NewIntrospectionConfigFactory(schema *ast.Document) (*IntrospectionConfigFactory, error)
func (*IntrospectionConfigFactory) BuildDataSourceConfiguration ¶
func (f *IntrospectionConfigFactory) BuildDataSourceConfiguration() plan.DataSourceConfiguration
func (*IntrospectionConfigFactory) BuildFieldConfigurations ¶
func (f *IntrospectionConfigFactory) BuildFieldConfigurations() (planFields plan.FieldConfigurations)
type Planner ¶
type Planner struct {
// contains filtered or unexported fields
}
func (*Planner) ConfigureFetch ¶
func (p *Planner) ConfigureFetch() plan.FetchConfiguration
func (*Planner) ConfigureSubscription ¶
func (p *Planner) ConfigureSubscription() plan.SubscriptionConfiguration
func (*Planner) DataSourcePlanningBehavior ¶
func (p *Planner) DataSourcePlanningBehavior() plan.DataSourcePlanningBehavior
func (*Planner) DownstreamResponseFieldAlias ¶
func (*Planner) EnterField ¶
Click to show internal directories.
Click to hide internal directories.