timqian / gql-generator

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

add an option to choose file extension #47

Open svengau opened 3 years ago

svengau commented 3 years ago

According the graphql-spec, .graphql is the official extension. It would be great if we could have an option to choose our extension, with default to .gql to maintain compatibility. If it sounds good for you, I can push a PR.

ps: Thanks for the good job on this really useful plugin.

timqian commented 3 years ago

Thanks @svengau, this option sounds useful, PR is welcomed

svengau commented 3 years ago

Hey @timqian here is the PR #48 thanks