Skip to content

Commit e68ca4c

Browse files
martinbonninbenjie
andauthored
Update src/pages/blog/2024-09-18-codegen.mdx
Co-authored-by: Benjie <[email protected]>
1 parent ef02a64 commit e68ca4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pages/blog/2024-09-18-codegen.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ query GetProduct {
138138
Typescript:
139139

140140
```typescript
141+
# Only the fields appearing in the `GetProduct` query appear in the generated types
142+
141143
type GetProductData = {
142144
products: Array<GetProductData_products>
143145
}

0 commit comments

Comments
 (0)