How to populate Int Variables in Typescript #343
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Support
Any questions, information, or general needs around the SDK or GitHub APIs
I'm trying to use a query which has an "Int!" variable, but this is always being sent as a string.
projectNumber is defined as
projectNumber: number
But the resultant graphQL query is sent as a string:
which returns the error:
Is it possible for the variable to be resolved as
"projectNumber": 4
? I notice the example in the README.md - Variables, doesn't show the population of an Int variable instead its defaulted in. So perhaps it's not supported?The text was updated successfully, but these errors were encountered: