sources

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadQueries

func LoadQueries(schema *ast.Schema, sources []string) (parser.QueryFieldList, error)

LoadQueries will graphql queries from a list of files

func LoadSchema

func LoadSchema(source string) (*ast.Schema, error)

LoadSchema will load a schema from either a given file or url

Types

type Loader

type Loader interface {
	Load(source string) ([]*ast.Source, error)
}

Jump to

Keyboard shortcuts

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