Vincit / venia

Clojure(Script) graphql query generation
Eclipse Public License 1.0
197 stars 20 forks source link

escape special chars in strings #31

Open xfthhxk opened 6 years ago

xfthhxk commented 6 years ago

Strings containing various special chars such as \", \\, \newline, \return, \tab, \backspace and \formfeed need to be escaped otherwise graphql servers can't parse the query. This addresses escaping those characters. This change was tested against a server running Lacinia.