dotansimha / dotansimha/graphql-code-generator
graphql-modules-preset is not adding interface and union resolvers to Module.Resolver
Open
core
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
**Describe the bug**
When using graphql-module framework, the generated resolver is missing definition for interfaces and unions.
**To Reproduce**
Steps to reproduce the behavior:
Repo that reproduce the issue with readme for explanantion
https://github.com/laurent-lubino-roam/graphql-modules-codegen-resolver
**Expected behavior**
I would expect to be able to resolve types directly in the resolver using `resolveType` instead of `isTypeOf`
**Environment:**
- OS: macOS
- `@graphql-codegen/graphql-module-preset`:
- NodeJS: 16
**Additional context**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.