You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
For general questions, we recommend using StackOverflow or our discord server.
Issue Description
Give the query
the following type is generated:

It correctly validates that

id
must be a variable of typeString
and that it is requried

but it allows for random arguments to be passed

I would expect an error for variables that are unused in the query.
Link to Reproduction
https://codesandbox.io/p/sandbox/pedantic-dream-0x7z92?file=%2Fsrc%2FApp.tsx
Reproduction Steps
Run the example, and see that you get no Typescript errors for the invalid variable in
renderQuery.tsx
The text was updated successfully, but these errors were encountered: