Silly question. Prisma isn't taking a string with...
# prisma-whats-new
l
Silly question. Prisma isn't taking a string with a carriage return through Playground. I assume this is a GraphQL Spec issue and expected behavior, but what's the solution? e.g. update(str: "line1 line2") {id}
Copy code
{
  "error": "Syntax error while parsing GraphQL query. Invalid input \"\"line 1\\n\", expected StringValue, BooleanValue, NullValue, Variable, Comments, ObjectValue, EnumValue, NumberValue or ListValue (line 4, column 14):\n    formula: \"line 1\n             ^"
}
What am I missing? Do I need to sanitize it somehow?