graphql-code-generator
graphql-code-generator copied to clipboard
Next major version feature branch
Related: https://github.com/dotansimha/graphql-code-generator/issues/10206
- https://github.com/dotansimha/graphql-code-generator/pull/10216
- https://github.com/dotansimha/graphql-code-generator/pull/10221
- https://github.com/dotansimha/graphql-code-generator/pull/10283
- https://github.com/dotansimha/graphql-code-generator/pull/10297
- https://github.com/dotansimha/graphql-code-generator/pull/10287
- [ ] Do not override NameNode
- [ ] Drop Node 18
Breaking Changes
- No longer generate
UnwrappedObjectutility type, as this was used to support the wrong previously generated type. - Deprecate
onlyResolveTypeForInterfacesbecause majority of use cases cannot implement resolvers in Interfaces. - Deprecate
generateInternalResolversIfNeeded.__resolveReferencebecause types do not have__resolveReferenceif they are not Federation entities or are not resolvable. Users should not have to manually set this option. This option was put in to wait for this major version. - Do not generate
__isTypeOffor non-implementing-types or non-union-members - Do not inline parent types for Federation Entities resolvers anymore. This makes handling mappers and deciding
@external,@providesand@key @keyscenarios easier