Closed dwwoelfel closed 3 years ago
Adds parsing support for GraphQL's block string syntax.
With this change, the message arg in the following query will be parsed as "Hello,\n World!\n\nYours,\n GraphQL.", per the spec.
"Hello,\n World!\n\nYours,\n GraphQL."
mutation { sendEmail(message: """ Hello, World! Yours, GraphQL. """) }
Test cases are lifted from the block string tests in graphql-js.
Thanks @dwwoelfel! 🏆
Adds parsing support for GraphQL's block string syntax.
With this change, the message arg in the following query will be parsed as
"Hello,\n World!\n\nYours,\n GraphQL."
, per the spec.Test cases are lifted from the block string tests in graphql-js.