openblocks
openblocks copied to clipboard
[Feature Request] GraphQL Datasources
GraphQL integration is in our roadmap. Please stay tuned for updates : )
+1 to this.
Also Is your roadmap public?
We'll be publishing our roadmap soon.
Another +1 to this.
Hi everyone, GraphQL data source is available now, please check it out, and thanks again for your advice and patience. π
Hi there, while the integration feels really good, the data transmitted to the server has a flaw: Variables are no JSON but as stringβ¦ π
See example here:
"variables": "{\"email\":\"[email protected]\",\"password\":\"too-many-secrets\"}",
"query": "query authenticateByEmail($email: String!, $password: String!) {\n authenticateByEmail(arg1: {email: $email, password: $password}) {\n jwtToken\n }\n}"
}
This would be correct:
{
"variables": { "email": "[email protected]", "password": "too-many-secrets" },
"query": "query authenticateByEmail($email: String!, $password: String!) {\n authenticateByEmail(arg1: {email: $email, password: $password}) {\n jwtToken\n }\n}"
}
Hi @ulbrich , thanks for reporting this issue. We will fix it in the next version, please stay tuned.
Hey @ulbrich , a hot fix image for this issue has been published, please update Openblocks and give us a try π
Hi @neon-balcony, I can happily confirm that the fix works nicely communicating with Hasura using GraphQL queries. Thank you so much! π