Skip to content
New issue

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

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

Already on GitHub? # to your account

Add support for custom hook points for extensions #274

Open
timsuchanek opened this issue Apr 18, 2018 · 1 comment
Open

Add support for custom hook points for extensions #274

timsuchanek opened this issue Apr 18, 2018 · 1 comment

Comments

@timsuchanek
Copy link
Contributor

Use-case: After fetching a big schema with get-schema, it would be awesome to add app specific annotations to that generated SDL. An extension could hook in and manipulate the downloaded SDL of the graphql get-schema command.

@ardatan
Copy link
Collaborator

ardatan commented Oct 28, 2019

Currently we have new structure for GraphQL CLI and in the new alpha version 4.0.0-alpha.0 we suggest to use GraphQL Code Generator plugin of GraphQL CLI with Codegen's schema-ast plugin. GraphQL Codegen has lifecycle hooks feature.
Checkout new instructions and we will be happy to hear your feedback. Feel free to contact us using our Discord channel;
https://discord.gg/xud7bH

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

5 participants