Introduce formatter type for the encoder

... to distinguish between minified and pretty printing.
This commit is contained in:
2019-07-31 05:40:17 +02:00
parent d690d22ce8
commit 4812c8f039
6 changed files with 114 additions and 54 deletions

View File

@ -7,11 +7,11 @@
query queryName($foo: ComplexType, $site: Site = MOBILE) {
whoever123is: node(id: [123, 456]) {
id , # Inline test comment
id, # Inline test comment
... on User @defer {
field2 {
id ,
alias: field1(first:10, after:$foo,) @include(if: $foo) {
id,
alias: field1(first: 10, after: $foo) @include(if: $foo) {
id,
...frag
}