lowcoder
lowcoder copied to clipboard
[Bug]: GraphQL query variable interpolation "String cannot represent a non string value"
trafficstars
Is there an existing issue for this?
- [X] 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
This works
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
https://app.lowcoder.cloud/
Additional Information
No response