Closed Ulrar closed 6 years ago
That's the standard way to serialize strings in JSON, and is the same format that your browser's built-in JSON.stringify
gives you. What server are you using? I think the problem must be with the JSON parsing code on the server.
Closing the issue for now since I don't think this is a bug in the package.
Hi,
Might be doing it wrong, but it looks like the json sent to the server contains the actual \n characters instead of regular line breaks, which breaks parsing on the server. Here is the raw query as seen from Firefox's "edit and resend", which is the only I found to get the raw request :
{"query":"query {\n projects {\n name\n }\n}"}
The ELM code for that query :
Using the latest firefox 62, if that matters.