v1.7.0
Do you want The Guild to keep your codebase up to date and run your build on each GraphQL Code Generator commit so we'll make sure not to break your app?
Contact us here: the-guild.dev/connected-build
core/cli
- Fixes issues with documents validation - now it's more strict and will also check for fragment usages and fragment spreads.
- Ignore generated files, also on Windows.
- Fixed issues with
require.cache
that caused loading from schema to remain the same without updating. - Update dependencies
typescript
- Allow using file paths for
scalars:
config like you can for enumValues (#2418, thanks @ForbesLindesay)
typescript-operations
- Fix missing readonly for
__typename
with immutableTypes (#2459) - Fix union/interface types with same selection set field name but different type (#2436, thanks @n1ru4l)
- fix: do not omit fragment spread nodes (#2409, @n1ru4l)
typescript-react-apollo
- fix: change titleCase to pascalCase for lazy query name (#2433, thanks @benjie)
- Fix external mode to avoid importing operations in files that don't have operations (#2392, thanks @eddeee888)
- Make GraphQL operation alias unique from HOC name (#2430, thanks @uhLeeshUh)
- Types should able to import from other file when it is the only plugin used (#2165, thanks @veeramarni )
flow-operations
- Fix missing readonly for
__typename
with immutableTypes (#2459) - Fix union/interface types with same selection set field name but different type (#2436, thanks @n1ru4l)
- fix: do not omit fragment spread nodes (#2409, @n1ru4l)
flow
- Allow using file paths for
scalars:
config like you can for enumValues (#2418, thanks @ForbesLindesay)
near-operation-files
- Fix for enums are not namespaced properly (#2458)
- Fix for unused imports are generated when using fragment (#2416)
- Add sub-folder param to near-operation-file (#2429, thanks @fforres)
typescript-type-graphql
- Added support for TypeGraphQL Input- and ArgTypes (#2462, thanks @borremosch)
- Allow overriding decorators (#2448, thanks @NickBolles)