Registry / serialization / vektah-gqlparser

vektah-gqlparser

JSON →
library1.3.1gogounverified

gqlparser is a parser for GraphQL schema and queries written in Go.

go get github.com/vektah/gqlparser
INSTALL
IMPORT
SIG · VEKTAH-GQLPARSER
V
vektah-gqlparser
serializationgov1.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gqlparser
github.com/vektah/gqlparser

Parse a GraphQL schema and print the query type name

package main import ( "fmt" "github.com/vektah/gqlparser" ) func main() { schema, _ := gqlparser.LoadSchema(&gqlparser.Source{Input: "type Query { hello: String }"}) fmt.Println(schema.QueryType.Name) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
vektah-gqlparser — go get vektah-gqlparser · libregistry