vinniefg
(Vinnie Freitas)
September 18, 2020, 6:13pm
1
Hi everyone,
I’m using Go, and I need to parse GraphQL requests intended for and the schema used in SlashQL.
For example, @chewxy mentioned parse_query
and parse_graph
from the graphql_parser
Rust pkg graphql_parser::parse_query - Rust
Does anyone know of a lib/pkg to do that w/ Go? i.e. Does GitHub - vektah/gqlparser: A port of the parser from graphql-js into golang work?
Thx
chewxy
(chewxy)
September 19, 2020, 12:20am
2
I believe the dgraph repo has a graphql parser (but ironically it’s not in the graphql
subdirectory. @pawan showed some snippets to me yesterday but I could not for the life of me remember where it is
vinniefg
(Vinnie Freitas)
September 19, 2020, 1:10am
3
@pawan @chewxy Looks like dgraph uses gqlparser ?
Akra
September 26, 2020, 7:01pm
5
Hey @chewxy For case 1, is there a library in Go for doing that? I’m recently encountering similar situation.