Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregation ¶
type Aggregation struct{}
func (Aggregation) DirectiveName ¶
func (a Aggregation) DirectiveName() string
func (Aggregation) Name ¶
func (a Aggregation) Name() string
type Augmenter ¶
type Augmenter interface {
// Name of the augmenter
Name() string
// DirectiveName Name is the name of the directive this augmenter adds to the Schema, calling this augmenter on every
// occurrence of this directive.
DirectiveName() string
// Augment is the actual method that gets called to augment the schema
Augment(s *ast.Schema) error
}
Augmenter is a late source injector adding logic into our schema after it's loaded
type FilterArguments ¶
type FilterArguments struct{}
func (FilterArguments) DirectiveName ¶
func (fa FilterArguments) DirectiveName() string
func (FilterArguments) Name ¶
func (fa FilterArguments) Name() string
type FilterInput ¶
type FilterInput struct{}
func (FilterInput) DirectiveName ¶
func (f FilterInput) DirectiveName() string
func (FilterInput) Name ¶
func (f FilterInput) Name() string
type Pagination ¶
type Pagination struct{}
Pagination Augmenter allows adding pagination (limit/offset) augmenting any objects' field with @generate if it's a List
func (Pagination) DirectiveName ¶
func (p Pagination) DirectiveName() string
func (Pagination) Name ¶
func (p Pagination) Name() string
Click to show internal directories.
Click to hide internal directories.