directives

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Hidden is used to mark a directive as hidden so it will be ignored in documentation
	Hidden = "hidden"
	// Skip if true, the decorated field or fragment in an operation is not resolved by the GraphQL server.
	Skip = "skip"
	// Include if false, the decorated field or fragment in an operation is not resolved by the GraphQL server.
	Include = "include"
)

Variables

This section is empty.

Functions

func NewHiddenDirective

func NewHiddenDirective(v bool) entgql.Directive

NewUndocumentedDirective returns a new hidden directive with the value set TODO (sfunk): this is a custom directive that needs to be implemented before we can use it

func NewIncludeDirective

func NewIncludeDirective(v bool) entgql.Directive

NewIncludeDirective returns a new include directive with the value set

func NewSkipDirective

func NewSkipDirective(v bool) entgql.Directive

NewSkipDirective returns a new skip directive with the value set

Types

This section is empty.

Jump to

Keyboard shortcuts

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