Describe the bug
rawAccess set in docker-compose.ymlExecute this:
mutation {
executeRaw(query: "SELECT * FROM `default@default`.`User`")
}
Returns this error:
ERROR: syntax error at or near \"\"\n Position: 15",`
This should indeed return a clearer error message.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.
This now returns a Sangria query validation error letting the user now that the field executeRaw is not available. This is probably clear enough?
{
"data" : null,
"errors" : [ {
"message" : "Cannot query field 'executeRaw' on type 'Mutation'. (line 3, column 4):\n executeRaw(query: \"SELECT * FROM `default@default`.`User`\")\n ^",
"locations" : [ {
"line" : 3,
"column" : 4
} ]
} ]
}