graphql-code-generator icon indicating copy to clipboard operation
graphql-code-generator copied to clipboard

Vanilla Typescript Guide result type incorrect

Open Brookke opened this issue 5 months ago • 0 comments

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

Brookke avatar May 28 '25 13:05 Brookke