{"action":"closed","issue":{"url":"https://api.github.com/repos/andreas/ocaml-graphql-server/issues/68","repository_url":"https://api.github.com/repos/andreas/ocaml-graphql-server","labels_url":"https://api.github.com/repos/andreas/ocaml-graphql-server/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/andreas/ocaml-graphql-server/issues/68/comments","events_url":"https://api.github.com/repos/andreas/ocaml-graphql-server/issues/68/events","html_url":"https://github.com/andreas/ocaml-graphql-server/issues/68","id":267820479,"number":68,"title":"Slash \\ escaped characters in direct input strings aren't unescaped","user":{"login":"donut","id":37392,"avatar_url":"https://avatars3.githubusercontent.com/u/37392?v=4","gravatar_id":"","url":"https://api.github.com/users/donut","html_url":"https://github.com/donut","followers_url":"https://api.github.com/users/donut/followers","following_url":"https://api.github.com/users/donut/following{/other_user}","gists_url":"https://api.github.com/users/donut/gists{/gist_id}","starred_url":"https://api.github.com/users/donut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donut/subscriptions","organizations_url":"https://api.github.com/users/donut/orgs","repos_url":"https://api.github.com/users/donut/repos","events_url":"https://api.github.com/users/donut/events{/privacy}","received_events_url":"https://api.github.com/users/donut/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-23T21:16:40Z","updated_at":"2017-12-01T14:14:27Z","closed_at":"2017-12-01T14:14:27Z","author_association":"NONE","body":"If I run this query in GraphiQL\r\n\r\n```graphql\r\nquery {\r\n  goomba(alias: \"test\\\"\") {\r\n    id: ID!\r\n  }\r\n}\r\n```\r\n\r\nthe value passed to the resolve function will be exactly `test\\\"`. However, if I change the query to\r\n\r\n```graphql\r\nquery GoombaQuery($input:String!) {\r\n  goomba(alias: $input) {\r\n    id: ID!\r\n  }\r\n}\r\n```\r\n\r\nwith the variables\r\n\r\n```json\r\n{ \"input\": \"test\\\"\" }\r\n```\r\n\r\nthe quotation is de-escaped as expected, `test\"`.\r\n\r\n"}}
{"actor":{"display_login":"andreas"}}