-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add generics for Variables
?
#177
Comments
When using with something like graphql-codegen, this becomes a pain to run into, since graphql-codegen will generate out a variable object for us to use. I can open a PR to fix this if wanted, but it looks like Prisma doesn't seem to support this project too much anymore? |
Thanks @pavanagrawal123 ! And yeah, it seems like this library is no longer maintained... |
@dotansimha , ahh I see, it looks like I might be using it wrong then haha. Great work on the library, thank you for making it amazing :) |
closes #177 Co-authored-by: Jason Kuhrt <jasonkuhrt@me.com>
It's defined as
export type Variables = { [key: string]: any }
right now, which doesn't make any sense, because variables could be typed and it should be supported.The text was updated successfully, but these errors were encountered: