parser

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArgumentsOfDirective

func GetArgumentsOfDirective(directive *ast.Directive) ([]schema.Argument, error)

func GetDirectivesFromFieldDefinition

func GetDirectivesFromFieldDefinition(field *ast.FieldDefinition) ([]schema.Directive, error)

func GetDirectivesFromObjectDefinition

func GetDirectivesFromObjectDefinition(definition *ast.ObjectDefinition) ([]schema.Directive, error)

func GetDirectivesFromScalarDefinition

func GetDirectivesFromScalarDefinition(scalar *ast.ScalarDefinition) ([]schema.Directive, error)

func GetEnumFromDefinition

func GetEnumFromDefinition(definition *ast.EnumDefinition) (*schema.Enum, error)

func GetFieldsFormDefinition

func GetFieldsFormDefinition(definition *ast.ObjectDefinition) ([]schema.Field, error)

func GetObjectFromDefinition

func GetObjectFromDefinition(definition *ast.ObjectDefinition) (*schema.Object, error)

func GetScalarFromDefinition

func GetScalarFromDefinition(definition *ast.ScalarDefinition) (*schema.Scalar, error)

func GetSchemaFromString

func GetSchemaFromString(s string) (*schema.Schema, error)

func GetValue

func GetValue(value ast.Value) (any, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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