[BUG] Wrong data format when sending data in GraphQL Query
florentina-tache opened this issue · 0 comments
florentina-tache commented
When using GraphQL Query, the data access a value from an input it will not send it as a string and as a result the query will fail, and the only way I found to send the data is like this {{JSON.stringify(input.value)}}
Also, when trying to send a JSON object, whose value I get from the JSON Editor Component, I get this:
So the only way to send it that worked for me is to send it like {{JSON.stringify(JSON.stringify(jsonInput.value))}}
, but this implies that the server would need to accept a string instead of an object