graphql-code-generator
graphql-code-generator copied to clipboard
Vanilla Typescript Guide result type incorrect
Which packages are impacted by your issue?
No response
Describe the bug
When working through the vanilla typescript example I found that the shape of the data actually returned by the fetch was result.data.allPeople rather than result.allPeople like the typescript suggests.
Your Example Website or App
N/A
Steps to Reproduce the Bug or Issue
N/A
Expected behavior
types are correct
Screenshots or Videos
No response
Platform
N/A
Codegen Config File
No response
Additional context
No response