Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty query tree when using __Schema query #12

Open
kallyshall opened this issue Sep 27, 2023 · 0 comments
Open

Empty query tree when using __Schema query #12

kallyshall opened this issue Sep 27, 2023 · 0 comments

Comments

@kallyshall
Copy link

kallyshall commented Sep 27, 2023

Hi, I was trying out his library (and am new to graphql).

so the query I used was
query { __schema { queryType { fields { name } } } }

and did something like result := fields.BuildTree(query, nil)

for result I was expecting something like {"__schema":"queryType", "__schema.queryType":"fields" ... } initially
but instead I got an empty map as result. is this working as expect?

Would be really appreciate if some lights can be shared on this, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant