query

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package query contains the logic to parse a GraphQL query.

Index

Constants

View Source
const (
	Query        types.OperationType = "QUERY"
	Mutation     types.OperationType = "MUTATION"
	Subscription types.OperationType = "SUBSCRIPTION"
)

const values for Query, Mutation and Subscriptions

Variables

This section is empty.

Functions

func Parse

func Parse(queryString string) (*types.ExecutableDefinition, *errors.QueryError)

Parse takes in query string, creates new lexer and returns parsed definition

Types

This section is empty.

Jump to

Keyboard shortcuts

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