-
Notifications
You must be signed in to change notification settings - Fork 275
Open
@vasileermicioi
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Variable interpolation in the GraphQL queries is raising errors "String cannot represent a non string value".
But it works if I copy the same content (including the variable interpolation) in a temporary state, and put it in the graphql query.
This doesn't work
image
This works
image
Expected Behavior
GraphQL query to work with variable interpolations
Steps to reproduce
- Create a module
- Create a input continentCode
- Create a GraphQL query
url: https://countries.trevorblades.com/
body:
{
countries(filter: {continent: {eq: "{{continentCode.value}}"}}) {
code
name
capital
}
}
4) result
error "String cannot represent a non string value"
Environment
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🆕 New