-
This is my codegen.yml: schema: './src/graphql/schema.graphql'
documents: null
generates:
src/graphql/generated.ts:
plugins:
- 'typescript'
- 'typescript-resolvers'
config:
federation: true However, there's no __resolveReference generated for my entities types so I have to manually type that which isn't ideal whatsoever, is my config missing something? |
Beta Was this translation helpful? Give feedback.
Answered by
ardatan
May 20, 2020
Replies: 2 comments 2 replies
-
@gabrielmendezc Could you reproduce your issue using this sandbox template? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Urigo
-
I am having the same issue, tried the suggested answer but it did not work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@gabrielmendezc Could you reproduce your issue using this sandbox template?
https://codesandbox.io/s/github/dotansimha/graphql-code-generator-issue-sandbox-template?file=/package.json