Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

escape special chars in strings #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

escape special chars in strings #31

wants to merge 1 commit into from

Conversation

xfthhxk
Copy link
Contributor

@xfthhxk xfthhxk commented May 10, 2018

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.

Ferossgp added a commit to urbestteam/venia that referenced this pull request Oct 5, 2018
Vincit#31
For CLJS version also JSON stringify can be used
Ferossgp added a commit to urbestteam/venia that referenced this pull request Oct 5, 2018
Vincit#31
For CLJS version also JSON stringify can be used
Ferossgp added a commit to urbestteam/venia that referenced this pull request Oct 8, 2018
Vincit#31
For CLJS version also JSON stringify can be used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant