Escape special characters in the encoded strings

Fixes #2.
This commit is contained in:
2019-08-13 07:24:05 +02:00
parent 6604fba7f4
commit 045b6d15fb
4 changed files with 50 additions and 22 deletions

View File

@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file.
### Added
- `executeWithName` executes an operation with the given name.
- Export `Language.GraphQL.Encoder.definition`.
- Export `Language.GraphQL.Encoder.value`. Escapes \ and " in strings now.
- Export `Language.GraphQL.Encoder.type'`.
### Changed
- `Operation` includes now possible operation name which allows to support