Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectiveFilter ¶
type DirectiveFilter func(ctx context.Context, d *ast.DirectiveDefinition) bool
type EnumFilter ¶
type EnumFilter func(ctx context.Context, d *ast.EnumValueDefinition) bool
type FieldFilter ¶
type FieldFilter func(ctx context.Context, d *ast.FieldDefinition) bool
type InputFieldFilter ¶
type InputFieldFilter func(ctx context.Context, d *ast.FieldDefinition) bool
type Plugin ¶
type Plugin struct { FieldFilter FieldFilter TypeFilter TypeFilter DirectiveFilter DirectiveFilter EnumFilter EnumFilter // contains filtered or unexported fields }
func (*Plugin) ExtensionName ¶
func (*Plugin) InterceptField ¶
type SortPlugin ¶
type SortPlugin struct{}
SortPlugin is a plugin that sorts the result of introspection queries. Deprecated: GQLGen now sorts the result of introspection queries automatically. This plugin is now a no-op.
func (SortPlugin) ExtensionName ¶
func (SortPlugin) ExtensionName() string
func (SortPlugin) InterceptField ¶
func (SortPlugin) Validate ¶
func (SortPlugin) Validate(schema graphql.ExecutableSchema) error
type TypeFilter ¶
type TypeFilter func(ctx context.Context, d *ast.Definition) bool
Click to show internal directories.
Click to hide internal directories.