haskell-graphql / graphql-api

Write type-safe GraphQL services in Haskell
BSD 3-Clause "New" or "Revised" License
406 stars 35 forks source link

Roundtrip strings #37

Closed jml closed 7 years ago

jml commented 7 years ago

Turns out graphql doesn't support escaped strings. This makes it do so by re-using Aeson's code, on the assumption that GraphQL strings are identical to JSON strings.

jml commented 7 years ago

LGTM, had a slight rewrite of string parser but doesn't matter this works fine (must resist fiddling!)

Will merge now, but curious as to the gist of this.