schemagen

package
v0.13.0-test.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FunctionSignature

type FunctionSignature struct {
	Name       string
	Parameters []*ParameterSignature
	ReturnType string
}

type GraphQLSchema

type GraphQLSchema struct {
	Schema   string
	MapTypes []string
}

func GetGraphQLSchema

func GetGraphQLSchema(ctx context.Context, md *metadata.Metadata) (*GraphQLSchema, error)

type NameTypePair

type NameTypePair struct {
	Name string
	Type string
}

type ParameterSignature

type ParameterSignature struct {
	Name    string
	Type    string
	Default *any
}

type TransformError

type TransformError struct {
	Source any
	Error  error
}

func (*TransformError) String

func (e *TransformError) String() string

type TypeDefinition

type TypeDefinition struct {
	Name      string
	Fields    []*NameTypePair
	IsMapType bool
}

Jump to

Keyboard shortcuts

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