graphql-cli icon indicating copy to clipboard operation
graphql-cli copied to clipboard

Add support for custom hook points for extensions

Open timsuchanek opened this issue 7 years ago • 1 comments

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.

timsuchanek avatar Apr 18 '18 14:04 timsuchanek

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

ardatan avatar Oct 28 '19 05:10 ardatan