You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that we can use Parser().parseDocument to generate the AST tree. But since I'm not too familiar with the codebase, I want to know if there's any existing class or functions that already does similar job or at least make it easier.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, there
given a GraphQL schema file, I'd like to programmatically read the schema, and generate queries.
For example:
Given:
The program should generate:
I know that we can use
Parser().parseDocumentto generate the AST tree. But since I'm not too familiar with the codebase, I want to know if there's any existing class or functions that already does similar job or at least make it easier.Thanks
Beta Was this translation helpful? Give feedback.
All reactions