field

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Directive = directives.FieldDirectiveDefinition{
		Definition: &ast.DirectiveDefinition{
			Name:        consts.SchemaDefDirectiveFieldName,
			Description: `This directive is used to mark the object as a resource field`,
			Position:    &ast.Position{Src: &ast.Source{BuiltIn: false}},
			Arguments: ast.ArgumentDefinitionList{
				{
					Name: consts.SchemaDefFieldDirectiveArgLabel,
					Type: ast.NamedType("String", nil),
				},
				{
					Name: consts.SchemaDefFieldDirectiveArgDescription,
					Type: ast.NamedType("String", nil),
				},
				{
					Name: consts.SchemaDefFieldDirectiveArgDb,
					Type: ast.NamedType(consts.SchemaDefFieldDbConfigInputType, nil),
					Directives: ast.DirectiveList{
						{Name: consts.ExcludeArgumentFromType},
					},
				},
			},
			Locations: []ast.DirectiveLocation{
				ast.LocationFieldDefinition,
			},
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL