Skip to content

@graphql-codegen/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Jul 14:28
· 1086 commits to master since this release
4d9725a

Minor Changes

  • 2cbcbb3: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bundlers.

    You can use the option in your config:

    schema: 'schema.graphql'
     documents:
       - 'src/**/*.graphql'
     emitLegacyCommonJSImports: true

    Alternative you can use the CLI to set this option:

    $ codegen --config-file=config.yml --emit-legacy-common-js-imports