{"action":"closed","issue":{"url":"https://api.github.com/repos/andreas/ocaml-graphql-server/issues/110","repository_url":"https://api.github.com/repos/andreas/ocaml-graphql-server","labels_url":"https://api.github.com/repos/andreas/ocaml-graphql-server/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/andreas/ocaml-graphql-server/issues/110/comments","events_url":"https://api.github.com/repos/andreas/ocaml-graphql-server/issues/110/events","html_url":"https://github.com/andreas/ocaml-graphql-server/issues/110","id":349072386,"node_id":"MDU6SXNzdWUzNDkwNzIzODY=","number":110,"title":"Parsing error message","user":{"login":"Ulrar","id":873423,"node_id":"MDQ6VXNlcjg3MzQyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/873423?v=4","gravatar_id":"","url":"https://api.github.com/users/Ulrar","html_url":"https://github.com/Ulrar","followers_url":"https://api.github.com/users/Ulrar/followers","following_url":"https://api.github.com/users/Ulrar/following{/other_user}","gists_url":"https://api.github.com/users/Ulrar/gists{/gist_id}","starred_url":"https://api.github.com/users/Ulrar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ulrar/subscriptions","organizations_url":"https://api.github.com/users/Ulrar/orgs","repos_url":"https://api.github.com/users/Ulrar/repos","events_url":"https://api.github.com/users/Ulrar/events{/privacy}","received_events_url":"https://api.github.com/users/Ulrar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-08-09T10:38:05Z","updated_at":"2018-08-09T13:27:20Z","closed_at":"2018-08-09T13:27:20Z","author_association":"NONE","body":"Hi,\r\n\r\nI'm having a weird issue with `Graphql_parser.parse` returning an Error \": string\". What could that mean ? The query is fairly simple.\r\nI have that error only when I receive the query from cohttp. I tried logging it to the console, copying that and passing that directly myself to parse and it processes it without any errors.\r\n\r\nSo apparently I get that weird \": string\" error only if I get the query from the cohttp body, there must be something strange that doesn't show up in the console, but what .. Still, the error message doesn't seem very helpful, and I don't really understand where it's coming from.\r\n\r\nEDIT : The query looks like that, btw\r\n```\r\nquery {\\n  projects {\\n    name\\n   }\\n}\r\n```\r\nIt's generated by elm-graphql, I've tried removing those \\n but it doesn't change anything. As mentioned, running that works, unless it comes from cohttp."}}
{"actor":{"display_login":"rrosenzweig"}}