| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Runs @graphql-codegen generation as soon as you hit save on any gql or graphql file. Keep in mind it will only run when your node_modules contains @graphql-codegen/cli package.
This extension uses codegen from your node_modules inside the folder you are working on, so you will never get a mismatching output to what your CLI would give you. Also it is faster-especially on large projects. VilvaAthibanPB's always executes all of the codegens. This extensions only executes codegens that match the last saved file.
Should support all major OSes.
Testing is done manually until some basic specs are added.
Extension was initially tested with @graphql-codegen/cli version 1.21.x. Last version is tested with version 5.0.0 Other versions might not work as expected. If you hit any problems with other versions, please report them. The aim is to support as broad range of CLI versions as possible.
Since this runs the codegen behind the scenes you cannot see the output. You get notified of success/error with a vscode information message like this:
You can have multiple workspaces in your editor, but keep in mind that we always iterate from the first to last and we run codegen inside the first workspace which has /node_modules/@graphql-codegen/cli module available. If you have multiple VSCode workspaces with this module, it might not work correctly.
| Back | FazBrowse Home | New Git URL |