-
-
Notifications
You must be signed in to change notification settings - Fork 787
Milestone
Description
Product
Hot Chocolate
Is your feature request related to a problem?
When a DEL character (0x7F) is included in a string passed in as a variable in a hot chocolate mutation call, HC throws an error parsing the request. The actual response returned to the client is something like this:
{
"errors": [
{
"message": "Invalid character within String: 127.",
"locations": [
{
"line": 1,
"column": 3555533
}
],
"extensions": {
"code": "HC0011"
}
}
]
}
The solution you'd like
It appears that characters like DEL are valid per the JSON spec (see discussion in salsify/jsonstreamingparser#53). Could HC allow this character in input data?