Unable to parse string identifier #24752
-
I’m currently trying to make a POST http request to the GitHub GraphQL API, by retrieving the value from the input field and pass it into the GraphQL query that I’ve written but I keep getting this particular error below:
Here’s the query that I wrote and the fetch API call below
I’d be glad if anyone could render any assitance. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I fixed it already. The error came from me using
|
Beta Was this translation helpful? Give feedback.
I fixed it already.
The error came from me using
query userRepos(${queryString}: String!) { }
instead of