timqian / gql-generator

Generate queries from graphql schema, used for writing api test.
MIT License
375 stars 93 forks source link

Customise query depth limit #7

Closed timqian closed 5 years ago

timqian commented 5 years ago
screen shot 2018-12-17 at 9 54 00 am

The current query Depth limit is 100, it will result to huge query file, It will be good if user can customise query depth.

Expected behavior:

gqlg --schemaFilePath ./example/sampleTypeDef.graphql --destDirPath ./example/output --depthLimit 2
timqian commented 5 years ago

done in 4b181de