From e783dfb436723771094a290e1ee3a310fd923171 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Fri, 18 Aug 2017 13:05:49 -0400 Subject: [PATCH 1/2] return correct string and comment locations --- lexer.cpp | 12 ++++++------ lexer.lpp | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lexer.cpp b/lexer.cpp index 6eae313..9430894 100644 --- a/lexer.cpp +++ b/lexer.cpp @@ -924,30 +924,30 @@ YY_RULE_SETUP { BEGIN(INITIAL); yylval->str = yyextra->str.c_str(); + *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_STRING; } YY_BREAK case 2: /* rule 2 can match eol */ YY_RULE_SETUP -#line 63 "lexer.lpp" +#line 64 "lexer.lpp" { throw make_error(yyextra->loc, "Unterminated string"); } YY_BREAK case YY_STATE_EOF(STRING_STATE): -#line 67 "lexer.lpp" +#line 68 "lexer.lpp" { throw make_error(yyextra->loc, "Unterminated string at EOF"); } YY_BREAK case 3: YY_RULE_SETUP -#line 71 "lexer.lpp" +#line 72 "lexer.lpp" { char *p = yytext; while (*p) { - yyextra->loc.columns(); yyextra->str.push_back(*p++); } } @@ -1017,13 +1017,13 @@ case 15: /* rule 15 can match eol */ YY_RULE_SETUP #line 100 "lexer.lpp" -{ yyextra->loc.step(); BEGIN(INITIAL); } +{ yyextra->loc.lines(yyleng / 2); yyextra->loc.step(); BEGIN(INITIAL); } YY_BREAK case 16: /* rule 16 can match eol */ YY_RULE_SETUP #line 101 "lexer.lpp" -{ yyextra->loc.step(); BEGIN(INITIAL); } +{ yyextra->loc.lines(yyleng); yyextra->loc.step(); BEGIN(INITIAL); } YY_BREAK case 17: YY_RULE_SETUP diff --git a/lexer.lpp b/lexer.lpp index b6055e2..70c8ac1 100644 --- a/lexer.lpp +++ b/lexer.lpp @@ -56,6 +56,7 @@ notnewline [^\n\r] \" { BEGIN(INITIAL); yylval->str = yyextra->str.c_str(); + *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_STRING; } @@ -70,7 +71,6 @@ notnewline [^\n\r] {STRINGCHAR}+ { char *p = yytext; while (*p) { - yyextra->loc.columns(); yyextra->str.push_back(*p++); } } @@ -96,8 +96,8 @@ notnewline [^\n\r] } { - {CRLF} { yyextra->loc.step(); BEGIN(INITIAL); } - {newline} { yyextra->loc.step(); BEGIN(INITIAL); } + {CRLF} { yyextra->loc.lines(yyleng / 2); yyextra->loc.step(); BEGIN(INITIAL); } + {newline} { yyextra->loc.lines(yyleng); yyextra->loc.step(); BEGIN(INITIAL); } {notnewline}+ /* eat comment character */ } From a418a88040161e321197e4f4b06d5f1c1a388714 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Fri, 18 Aug 2017 13:06:43 -0400 Subject: [PATCH 2/2] update kitchen json test outputs to match updated string and comment locations --- test/kitchen-sink.json | 2 +- test/schema-kitchen-sink.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/kitchen-sink.json b/test/kitchen-sink.json index 9a49df4..5a94ac5 100644 --- a/test/kitchen-sink.json +++ b/test/kitchen-sink.json @@ -1 +1 @@ -{"kind":"Document","loc":{"start": {"line": 2,"column":1}, "end": {"line":51,"column":2}},"definitions":[{"kind":"OperationDefinition","loc":{"start": {"line": 2,"column":1}, "end": {"line":21,"column":2}},"operation":"query","name":{"kind":"Name","loc":{"start": {"line": 2,"column":7}, "end": {"line":2,"column":16}},"value":"queryName"},"variableDefinitions":[{"kind":"VariableDefinition","loc":{"start": {"line": 2,"column":17}, "end": {"line":2,"column":34}},"variable":{"kind":"Variable","loc":{"start": {"line": 2,"column":17}, "end": {"line":2,"column":21}},"name":{"kind":"Name","loc":{"start": {"line": 2,"column":17}, "end": {"line":2,"column":21}},"value":"foo"}},"type":{"kind":"NamedType","loc":{"start": {"line": 2,"column":23}, "end": {"line":2,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 2,"column":23}, "end": {"line":2,"column":34}},"value":"ComplexType"}},"defaultValue":null},{"kind":"VariableDefinition","loc":{"start": {"line": 2,"column":36}, "end": {"line":2,"column":56}},"variable":{"kind":"Variable","loc":{"start": {"line": 2,"column":36}, "end": {"line":2,"column":41}},"name":{"kind":"Name","loc":{"start": {"line": 2,"column":36}, "end": {"line":2,"column":41}},"value":"site"}},"type":{"kind":"NamedType","loc":{"start": {"line": 2,"column":43}, "end": {"line":2,"column":47}},"name":{"kind":"Name","loc":{"start": {"line": 2,"column":43}, "end": {"line":2,"column":47}},"value":"Site"}},"defaultValue":{"kind":"EnumValue","loc":{"start": {"line": 2,"column":50}, "end": {"line":2,"column":56}},"value":"MOBILE"}}],"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 2,"column":58}, "end": {"line":21,"column":2}},"selections":[{"kind":"Field","loc":{"start": {"line": 3,"column":3}, "end": {"line":20,"column":4}},"alias":{"kind":"Name","loc":{"start": {"line": 3,"column":3}, "end": {"line":3,"column":15}},"value":"whoever123is"},"name":{"kind":"Name","loc":{"start": {"line": 3,"column":17}, "end": {"line":3,"column":21}},"value":"node"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 3,"column":22}, "end": {"line":3,"column":36}},"name":{"kind":"Name","loc":{"start": {"line": 3,"column":22}, "end": {"line":3,"column":24}},"value":"id"},"value":{"kind":"ListValue","loc":{"start": {"line": 3,"column":26}, "end": {"line":3,"column":36}},"values":[{"kind":"IntValue","loc":{"start": {"line": 3,"column":27}, "end": {"line":3,"column":30}},"value":"123"},{"kind":"IntValue","loc":{"start": {"line": 3,"column":32}, "end": {"line":3,"column":35}},"value":"456"}]}}],"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 3,"column":38}, "end": {"line":20,"column":4}},"selections":[{"kind":"Field","loc":{"start": {"line": 4,"column":5}, "end": {"line":4,"column":7}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 4,"column":5}, "end": {"line":4,"column":7}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null},{"kind":"InlineFragment","loc":{"start": {"line": 5,"column":5}, "end": {"line":13,"column":6}},"typeCondition":{"kind":"NamedType","loc":{"start": {"line": 5,"column":12}, "end": {"line":5,"column":16}},"name":{"kind":"Name","loc":{"start": {"line": 5,"column":12}, "end": {"line":5,"column":16}},"value":"User"}},"directives":[{"kind":"Directive","loc":{"start": {"line": 5,"column":17}, "end": {"line":5,"column":23}},"name":{"kind":"Name","loc":{"start": {"line": 5,"column":18}, "end": {"line":5,"column":23}},"value":"defer"},"arguments":null}],"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 5,"column":24}, "end": {"line":13,"column":6}},"selections":[{"kind":"Field","loc":{"start": {"line": 6,"column":7}, "end": {"line":12,"column":8}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 6,"column":7}, "end": {"line":6,"column":13}},"value":"field2"},"arguments":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 6,"column":14}, "end": {"line":12,"column":8}},"selections":[{"kind":"Field","loc":{"start": {"line": 7,"column":9}, "end": {"line":7,"column":11}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 7,"column":9}, "end": {"line":7,"column":11}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null},{"kind":"Field","loc":{"start": {"line": 8,"column":9}, "end": {"line":11,"column":10}},"alias":{"kind":"Name","loc":{"start": {"line": 8,"column":9}, "end": {"line":8,"column":14}},"value":"alias"},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":16}, "end": {"line":8,"column":22}},"value":"field1"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 8,"column":23}, "end": {"line":8,"column":31}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":23}, "end": {"line":8,"column":28}},"value":"first"},"value":{"kind":"IntValue","loc":{"start": {"line": 8,"column":29}, "end": {"line":8,"column":31}},"value":"10"}},{"kind":"Argument","loc":{"start": {"line": 8,"column":33}, "end": {"line":8,"column":43}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":33}, "end": {"line":8,"column":38}},"value":"after"},"value":{"kind":"Variable","loc":{"start": {"line": 8,"column":39}, "end": {"line":8,"column":43}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":39}, "end": {"line":8,"column":43}},"value":"foo"}}}],"directives":[{"kind":"Directive","loc":{"start": {"line": 8,"column":46}, "end": {"line":8,"column":64}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":47}, "end": {"line":8,"column":54}},"value":"include"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 8,"column":55}, "end": {"line":8,"column":63}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":55}, "end": {"line":8,"column":57}},"value":"if"},"value":{"kind":"Variable","loc":{"start": {"line": 8,"column":59}, "end": {"line":8,"column":63}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":59}, "end": {"line":8,"column":63}},"value":"foo"}}}]}],"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 8,"column":65}, "end": {"line":11,"column":10}},"selections":[{"kind":"Field","loc":{"start": {"line": 9,"column":11}, "end": {"line":9,"column":13}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 9,"column":11}, "end": {"line":9,"column":13}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null},{"kind":"FragmentSpread","loc":{"start": {"line": 10,"column":11}, "end": {"line":10,"column":18}},"name":{"kind":"Name","loc":{"start": {"line": 10,"column":14}, "end": {"line":10,"column":18}},"value":"frag"},"directives":null}]}}]}}]}},{"kind":"InlineFragment","loc":{"start": {"line": 14,"column":5}, "end": {"line":16,"column":6}},"typeCondition":null,"directives":[{"kind":"Directive","loc":{"start": {"line": 14,"column":9}, "end": {"line":14,"column":28}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":10}, "end": {"line":14,"column":14}},"value":"skip"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 14,"column":15}, "end": {"line":14,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":15}, "end": {"line":14,"column":21}},"value":"unless"},"value":{"kind":"Variable","loc":{"start": {"line": 14,"column":23}, "end": {"line":14,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":23}, "end": {"line":14,"column":27}},"value":"foo"}}}]}],"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 14,"column":29}, "end": {"line":16,"column":6}},"selections":[{"kind":"Field","loc":{"start": {"line": 15,"column":7}, "end": {"line":15,"column":9}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 15,"column":7}, "end": {"line":15,"column":9}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null}]}},{"kind":"InlineFragment","loc":{"start": {"line": 17,"column":5}, "end": {"line":19,"column":6}},"typeCondition":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 17,"column":9}, "end": {"line":19,"column":6}},"selections":[{"kind":"Field","loc":{"start": {"line": 18,"column":7}, "end": {"line":18,"column":9}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 18,"column":7}, "end": {"line":18,"column":9}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null}]}}]}}]}},{"kind":"OperationDefinition","loc":{"start": {"line": 23,"column":1}, "end": {"line":29,"column":2}},"operation":"mutation","name":{"kind":"Name","loc":{"start": {"line": 23,"column":10}, "end": {"line":23,"column":19}},"value":"likeStory"},"variableDefinitions":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 23,"column":20}, "end": {"line":29,"column":2}},"selections":[{"kind":"Field","loc":{"start": {"line": 24,"column":3}, "end": {"line":28,"column":4}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 24,"column":3}, "end": {"line":24,"column":7}},"value":"like"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 24,"column":8}, "end": {"line":24,"column":18}},"name":{"kind":"Name","loc":{"start": {"line": 24,"column":8}, "end": {"line":24,"column":13}},"value":"story"},"value":{"kind":"IntValue","loc":{"start": {"line": 24,"column":15}, "end": {"line":24,"column":18}},"value":"123"}}],"directives":[{"kind":"Directive","loc":{"start": {"line": 24,"column":20}, "end": {"line":24,"column":26}},"name":{"kind":"Name","loc":{"start": {"line": 24,"column":21}, "end": {"line":24,"column":26}},"value":"defer"},"arguments":null}],"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 24,"column":27}, "end": {"line":28,"column":4}},"selections":[{"kind":"Field","loc":{"start": {"line": 25,"column":5}, "end": {"line":27,"column":6}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 25,"column":5}, "end": {"line":25,"column":10}},"value":"story"},"arguments":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 25,"column":11}, "end": {"line":27,"column":6}},"selections":[{"kind":"Field","loc":{"start": {"line": 26,"column":7}, "end": {"line":26,"column":9}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 26,"column":7}, "end": {"line":26,"column":9}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null}]}}]}}]}},{"kind":"OperationDefinition","loc":{"start": {"line": 31,"column":1}, "end": {"line":42,"column":2}},"operation":"subscription","name":{"kind":"Name","loc":{"start": {"line": 31,"column":14}, "end": {"line":31,"column":35}},"value":"StoryLikeSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","loc":{"start": {"line": 31,"column":36}, "end": {"line":31,"column":67}},"variable":{"kind":"Variable","loc":{"start": {"line": 31,"column":36}, "end": {"line":31,"column":42}},"name":{"kind":"Name","loc":{"start": {"line": 31,"column":36}, "end": {"line":31,"column":42}},"value":"input"}},"type":{"kind":"NamedType","loc":{"start": {"line": 31,"column":44}, "end": {"line":31,"column":67}},"name":{"kind":"Name","loc":{"start": {"line": 31,"column":44}, "end": {"line":31,"column":67}},"value":"StoryLikeSubscribeInput"}},"defaultValue":null}],"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 31,"column":69}, "end": {"line":42,"column":2}},"selections":[{"kind":"Field","loc":{"start": {"line": 32,"column":3}, "end": {"line":41,"column":4}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 32,"column":3}, "end": {"line":32,"column":21}},"value":"storyLikeSubscribe"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 32,"column":22}, "end": {"line":32,"column":35}},"name":{"kind":"Name","loc":{"start": {"line": 32,"column":22}, "end": {"line":32,"column":27}},"value":"input"},"value":{"kind":"Variable","loc":{"start": {"line": 32,"column":29}, "end": {"line":32,"column":35}},"name":{"kind":"Name","loc":{"start": {"line": 32,"column":29}, "end": {"line":32,"column":35}},"value":"input"}}}],"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 32,"column":37}, "end": {"line":41,"column":4}},"selections":[{"kind":"Field","loc":{"start": {"line": 33,"column":5}, "end": {"line":40,"column":6}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 33,"column":5}, "end": {"line":33,"column":10}},"value":"story"},"arguments":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 33,"column":11}, "end": {"line":40,"column":6}},"selections":[{"kind":"Field","loc":{"start": {"line": 34,"column":7}, "end": {"line":36,"column":8}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 34,"column":7}, "end": {"line":34,"column":13}},"value":"likers"},"arguments":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 34,"column":14}, "end": {"line":36,"column":8}},"selections":[{"kind":"Field","loc":{"start": {"line": 35,"column":9}, "end": {"line":35,"column":14}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 35,"column":9}, "end": {"line":35,"column":14}},"value":"count"},"arguments":null,"directives":null,"selectionSet":null}]}},{"kind":"Field","loc":{"start": {"line": 37,"column":7}, "end": {"line":39,"column":8}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 37,"column":7}, "end": {"line":37,"column":19}},"value":"likeSentence"},"arguments":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 37,"column":20}, "end": {"line":39,"column":8}},"selections":[{"kind":"Field","loc":{"start": {"line": 38,"column":9}, "end": {"line":38,"column":13}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 38,"column":9}, "end": {"line":38,"column":13}},"value":"text"},"arguments":null,"directives":null,"selectionSet":null}]}}]}}]}}]}},{"kind":"FragmentDefinition","loc":{"start": {"line": 44,"column":1}, "end": {"line":46,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 44,"column":10}, "end": {"line":44,"column":14}},"value":"frag"},"typeCondition":{"kind":"NamedType","loc":{"start": {"line": 44,"column":18}, "end": {"line":44,"column":24}},"name":{"kind":"Name","loc":{"start": {"line": 44,"column":18}, "end": {"line":44,"column":24}},"value":"Friend"}},"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 44,"column":25}, "end": {"line":46,"column":2}},"selections":[{"kind":"Field","loc":{"start": {"line": 45,"column":3}, "end": {"line":45,"column":54}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 45,"column":3}, "end": {"line":45,"column":6}},"value":"foo"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 45,"column":7}, "end": {"line":45,"column":18}},"name":{"kind":"Name","loc":{"start": {"line": 45,"column":7}, "end": {"line":45,"column":11}},"value":"size"},"value":{"kind":"Variable","loc":{"start": {"line": 45,"column":13}, "end": {"line":45,"column":18}},"name":{"kind":"Name","loc":{"start": {"line": 45,"column":13}, "end": {"line":45,"column":18}},"value":"size"}}},{"kind":"Argument","loc":{"start": {"line": 45,"column":20}, "end": {"line":45,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 45,"column":20}, "end": {"line":45,"column":23}},"value":"bar"},"value":{"kind":"Variable","loc":{"start": {"line": 45,"column":25}, "end": {"line":45,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 45,"column":25}, "end": {"line":45,"column":27}},"value":"b"}}},{"kind":"Argument","loc":{"start": {"line": 45,"column":29}, "end": {"line":45,"column":53}},"name":{"kind":"Name","loc":{"start": {"line": 45,"column":29}, "end": {"line":45,"column":32}},"value":"obj"},"value":{"kind":"ObjectValue","loc":{"start": {"line": 45,"column":34}, "end": {"line":45,"column":53}},"fields":[{"kind":"ObjectField","loc":{"start": {"line": 45,"column":35}, "end": {"line":45,"column":39}},"name":{"kind":"Name","loc":{"start": {"line": 45,"column":35}, "end": {"line":45,"column":38}},"value":"key"},"value":{"kind":"StringValue","loc":{"start": {"line": 45,"column":38}, "end": {"line":45,"column":39}},"value":"value"}}]}}],"directives":null,"selectionSet":null}]}},{"kind":"OperationDefinition","loc":{"start": {"line": 48,"column":1}, "end": {"line":51,"column":2}},"operation":"query","name":null,"variableDefinitions":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 48,"column":1}, "end": {"line":51,"column":2}},"selections":[{"kind":"Field","loc":{"start": {"line": 49,"column":3}, "end": {"line":49,"column":54}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 49,"column":3}, "end": {"line":49,"column":10}},"value":"unnamed"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 49,"column":11}, "end": {"line":49,"column":23}},"name":{"kind":"Name","loc":{"start": {"line": 49,"column":11}, "end": {"line":49,"column":17}},"value":"truthy"},"value":{"kind":"BooleanValue","loc":{"start": {"line": 49,"column":19}, "end": {"line":49,"column":23}},"value":true}},{"kind":"Argument","loc":{"start": {"line": 49,"column":25}, "end": {"line":49,"column":38}},"name":{"kind":"Name","loc":{"start": {"line": 49,"column":25}, "end": {"line":49,"column":31}},"value":"falsey"},"value":{"kind":"BooleanValue","loc":{"start": {"line": 49,"column":33}, "end": {"line":49,"column":38}},"value":false}},{"kind":"Argument","loc":{"start": {"line": 49,"column":40}, "end": {"line":49,"column":53}},"name":{"kind":"Name","loc":{"start": {"line": 49,"column":40}, "end": {"line":49,"column":47}},"value":"nullish"},"value":{"kind":"NullValue","loc":{"start": {"line": 49,"column":49}, "end": {"line":49,"column":53}}}}],"directives":null,"selectionSet":null},{"kind":"Field","loc":{"start": {"line": 50,"column":3}, "end": {"line":50,"column":8}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 50,"column":3}, "end": {"line":50,"column":8}},"value":"query"},"arguments":null,"directives":null,"selectionSet":null}]}}]} \ No newline at end of file +{"kind":"Document","loc":{"start": {"line": 8,"column":1}, "end": {"line":57,"column":2}},"definitions":[{"kind":"OperationDefinition","loc":{"start": {"line": 8,"column":1}, "end": {"line":27,"column":2}},"operation":"query","name":{"kind":"Name","loc":{"start": {"line": 8,"column":7}, "end": {"line":8,"column":16}},"value":"queryName"},"variableDefinitions":[{"kind":"VariableDefinition","loc":{"start": {"line": 8,"column":17}, "end": {"line":8,"column":34}},"variable":{"kind":"Variable","loc":{"start": {"line": 8,"column":17}, "end": {"line":8,"column":21}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":17}, "end": {"line":8,"column":21}},"value":"foo"}},"type":{"kind":"NamedType","loc":{"start": {"line": 8,"column":23}, "end": {"line":8,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":23}, "end": {"line":8,"column":34}},"value":"ComplexType"}},"defaultValue":null},{"kind":"VariableDefinition","loc":{"start": {"line": 8,"column":36}, "end": {"line":8,"column":56}},"variable":{"kind":"Variable","loc":{"start": {"line": 8,"column":36}, "end": {"line":8,"column":41}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":36}, "end": {"line":8,"column":41}},"value":"site"}},"type":{"kind":"NamedType","loc":{"start": {"line": 8,"column":43}, "end": {"line":8,"column":47}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":43}, "end": {"line":8,"column":47}},"value":"Site"}},"defaultValue":{"kind":"EnumValue","loc":{"start": {"line": 8,"column":50}, "end": {"line":8,"column":56}},"value":"MOBILE"}}],"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 8,"column":58}, "end": {"line":27,"column":2}},"selections":[{"kind":"Field","loc":{"start": {"line": 9,"column":3}, "end": {"line":26,"column":4}},"alias":{"kind":"Name","loc":{"start": {"line": 9,"column":3}, "end": {"line":9,"column":15}},"value":"whoever123is"},"name":{"kind":"Name","loc":{"start": {"line": 9,"column":17}, "end": {"line":9,"column":21}},"value":"node"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 9,"column":22}, "end": {"line":9,"column":36}},"name":{"kind":"Name","loc":{"start": {"line": 9,"column":22}, "end": {"line":9,"column":24}},"value":"id"},"value":{"kind":"ListValue","loc":{"start": {"line": 9,"column":26}, "end": {"line":9,"column":36}},"values":[{"kind":"IntValue","loc":{"start": {"line": 9,"column":27}, "end": {"line":9,"column":30}},"value":"123"},{"kind":"IntValue","loc":{"start": {"line": 9,"column":32}, "end": {"line":9,"column":35}},"value":"456"}]}}],"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 9,"column":38}, "end": {"line":26,"column":4}},"selections":[{"kind":"Field","loc":{"start": {"line": 10,"column":5}, "end": {"line":10,"column":7}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 10,"column":5}, "end": {"line":10,"column":7}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null},{"kind":"InlineFragment","loc":{"start": {"line": 11,"column":5}, "end": {"line":19,"column":6}},"typeCondition":{"kind":"NamedType","loc":{"start": {"line": 11,"column":12}, "end": {"line":11,"column":16}},"name":{"kind":"Name","loc":{"start": {"line": 11,"column":12}, "end": {"line":11,"column":16}},"value":"User"}},"directives":[{"kind":"Directive","loc":{"start": {"line": 11,"column":17}, "end": {"line":11,"column":23}},"name":{"kind":"Name","loc":{"start": {"line": 11,"column":18}, "end": {"line":11,"column":23}},"value":"defer"},"arguments":null}],"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 11,"column":24}, "end": {"line":19,"column":6}},"selections":[{"kind":"Field","loc":{"start": {"line": 12,"column":7}, "end": {"line":18,"column":8}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 12,"column":7}, "end": {"line":12,"column":13}},"value":"field2"},"arguments":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 12,"column":14}, "end": {"line":18,"column":8}},"selections":[{"kind":"Field","loc":{"start": {"line": 13,"column":9}, "end": {"line":13,"column":11}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 13,"column":9}, "end": {"line":13,"column":11}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null},{"kind":"Field","loc":{"start": {"line": 14,"column":9}, "end": {"line":17,"column":10}},"alias":{"kind":"Name","loc":{"start": {"line": 14,"column":9}, "end": {"line":14,"column":14}},"value":"alias"},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":16}, "end": {"line":14,"column":22}},"value":"field1"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 14,"column":23}, "end": {"line":14,"column":31}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":23}, "end": {"line":14,"column":28}},"value":"first"},"value":{"kind":"IntValue","loc":{"start": {"line": 14,"column":29}, "end": {"line":14,"column":31}},"value":"10"}},{"kind":"Argument","loc":{"start": {"line": 14,"column":33}, "end": {"line":14,"column":43}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":33}, "end": {"line":14,"column":38}},"value":"after"},"value":{"kind":"Variable","loc":{"start": {"line": 14,"column":39}, "end": {"line":14,"column":43}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":39}, "end": {"line":14,"column":43}},"value":"foo"}}}],"directives":[{"kind":"Directive","loc":{"start": {"line": 14,"column":46}, "end": {"line":14,"column":64}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":47}, "end": {"line":14,"column":54}},"value":"include"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 14,"column":55}, "end": {"line":14,"column":63}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":55}, "end": {"line":14,"column":57}},"value":"if"},"value":{"kind":"Variable","loc":{"start": {"line": 14,"column":59}, "end": {"line":14,"column":63}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":59}, "end": {"line":14,"column":63}},"value":"foo"}}}]}],"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 14,"column":65}, "end": {"line":17,"column":10}},"selections":[{"kind":"Field","loc":{"start": {"line": 15,"column":11}, "end": {"line":15,"column":13}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 15,"column":11}, "end": {"line":15,"column":13}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null},{"kind":"FragmentSpread","loc":{"start": {"line": 16,"column":11}, "end": {"line":16,"column":18}},"name":{"kind":"Name","loc":{"start": {"line": 16,"column":14}, "end": {"line":16,"column":18}},"value":"frag"},"directives":null}]}}]}}]}},{"kind":"InlineFragment","loc":{"start": {"line": 20,"column":5}, "end": {"line":22,"column":6}},"typeCondition":null,"directives":[{"kind":"Directive","loc":{"start": {"line": 20,"column":9}, "end": {"line":20,"column":28}},"name":{"kind":"Name","loc":{"start": {"line": 20,"column":10}, "end": {"line":20,"column":14}},"value":"skip"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 20,"column":15}, "end": {"line":20,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 20,"column":15}, "end": {"line":20,"column":21}},"value":"unless"},"value":{"kind":"Variable","loc":{"start": {"line": 20,"column":23}, "end": {"line":20,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 20,"column":23}, "end": {"line":20,"column":27}},"value":"foo"}}}]}],"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 20,"column":29}, "end": {"line":22,"column":6}},"selections":[{"kind":"Field","loc":{"start": {"line": 21,"column":7}, "end": {"line":21,"column":9}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 21,"column":7}, "end": {"line":21,"column":9}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null}]}},{"kind":"InlineFragment","loc":{"start": {"line": 23,"column":5}, "end": {"line":25,"column":6}},"typeCondition":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 23,"column":9}, "end": {"line":25,"column":6}},"selections":[{"kind":"Field","loc":{"start": {"line": 24,"column":7}, "end": {"line":24,"column":9}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 24,"column":7}, "end": {"line":24,"column":9}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null}]}}]}}]}},{"kind":"OperationDefinition","loc":{"start": {"line": 29,"column":1}, "end": {"line":35,"column":2}},"operation":"mutation","name":{"kind":"Name","loc":{"start": {"line": 29,"column":10}, "end": {"line":29,"column":19}},"value":"likeStory"},"variableDefinitions":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 29,"column":20}, "end": {"line":35,"column":2}},"selections":[{"kind":"Field","loc":{"start": {"line": 30,"column":3}, "end": {"line":34,"column":4}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 30,"column":3}, "end": {"line":30,"column":7}},"value":"like"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 30,"column":8}, "end": {"line":30,"column":18}},"name":{"kind":"Name","loc":{"start": {"line": 30,"column":8}, "end": {"line":30,"column":13}},"value":"story"},"value":{"kind":"IntValue","loc":{"start": {"line": 30,"column":15}, "end": {"line":30,"column":18}},"value":"123"}}],"directives":[{"kind":"Directive","loc":{"start": {"line": 30,"column":20}, "end": {"line":30,"column":26}},"name":{"kind":"Name","loc":{"start": {"line": 30,"column":21}, "end": {"line":30,"column":26}},"value":"defer"},"arguments":null}],"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 30,"column":27}, "end": {"line":34,"column":4}},"selections":[{"kind":"Field","loc":{"start": {"line": 31,"column":5}, "end": {"line":33,"column":6}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 31,"column":5}, "end": {"line":31,"column":10}},"value":"story"},"arguments":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 31,"column":11}, "end": {"line":33,"column":6}},"selections":[{"kind":"Field","loc":{"start": {"line": 32,"column":7}, "end": {"line":32,"column":9}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 32,"column":7}, "end": {"line":32,"column":9}},"value":"id"},"arguments":null,"directives":null,"selectionSet":null}]}}]}}]}},{"kind":"OperationDefinition","loc":{"start": {"line": 37,"column":1}, "end": {"line":48,"column":2}},"operation":"subscription","name":{"kind":"Name","loc":{"start": {"line": 37,"column":14}, "end": {"line":37,"column":35}},"value":"StoryLikeSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","loc":{"start": {"line": 37,"column":36}, "end": {"line":37,"column":67}},"variable":{"kind":"Variable","loc":{"start": {"line": 37,"column":36}, "end": {"line":37,"column":42}},"name":{"kind":"Name","loc":{"start": {"line": 37,"column":36}, "end": {"line":37,"column":42}},"value":"input"}},"type":{"kind":"NamedType","loc":{"start": {"line": 37,"column":44}, "end": {"line":37,"column":67}},"name":{"kind":"Name","loc":{"start": {"line": 37,"column":44}, "end": {"line":37,"column":67}},"value":"StoryLikeSubscribeInput"}},"defaultValue":null}],"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 37,"column":69}, "end": {"line":48,"column":2}},"selections":[{"kind":"Field","loc":{"start": {"line": 38,"column":3}, "end": {"line":47,"column":4}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 38,"column":3}, "end": {"line":38,"column":21}},"value":"storyLikeSubscribe"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 38,"column":22}, "end": {"line":38,"column":35}},"name":{"kind":"Name","loc":{"start": {"line": 38,"column":22}, "end": {"line":38,"column":27}},"value":"input"},"value":{"kind":"Variable","loc":{"start": {"line": 38,"column":29}, "end": {"line":38,"column":35}},"name":{"kind":"Name","loc":{"start": {"line": 38,"column":29}, "end": {"line":38,"column":35}},"value":"input"}}}],"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 38,"column":37}, "end": {"line":47,"column":4}},"selections":[{"kind":"Field","loc":{"start": {"line": 39,"column":5}, "end": {"line":46,"column":6}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 39,"column":5}, "end": {"line":39,"column":10}},"value":"story"},"arguments":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 39,"column":11}, "end": {"line":46,"column":6}},"selections":[{"kind":"Field","loc":{"start": {"line": 40,"column":7}, "end": {"line":42,"column":8}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 40,"column":7}, "end": {"line":40,"column":13}},"value":"likers"},"arguments":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 40,"column":14}, "end": {"line":42,"column":8}},"selections":[{"kind":"Field","loc":{"start": {"line": 41,"column":9}, "end": {"line":41,"column":14}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 41,"column":9}, "end": {"line":41,"column":14}},"value":"count"},"arguments":null,"directives":null,"selectionSet":null}]}},{"kind":"Field","loc":{"start": {"line": 43,"column":7}, "end": {"line":45,"column":8}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 43,"column":7}, "end": {"line":43,"column":19}},"value":"likeSentence"},"arguments":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 43,"column":20}, "end": {"line":45,"column":8}},"selections":[{"kind":"Field","loc":{"start": {"line": 44,"column":9}, "end": {"line":44,"column":13}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 44,"column":9}, "end": {"line":44,"column":13}},"value":"text"},"arguments":null,"directives":null,"selectionSet":null}]}}]}}]}}]}},{"kind":"FragmentDefinition","loc":{"start": {"line": 50,"column":1}, "end": {"line":52,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 50,"column":10}, "end": {"line":50,"column":14}},"value":"frag"},"typeCondition":{"kind":"NamedType","loc":{"start": {"line": 50,"column":18}, "end": {"line":50,"column":24}},"name":{"kind":"Name","loc":{"start": {"line": 50,"column":18}, "end": {"line":50,"column":24}},"value":"Friend"}},"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 50,"column":25}, "end": {"line":52,"column":2}},"selections":[{"kind":"Field","loc":{"start": {"line": 51,"column":3}, "end": {"line":51,"column":49}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 51,"column":3}, "end": {"line":51,"column":6}},"value":"foo"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 51,"column":7}, "end": {"line":51,"column":18}},"name":{"kind":"Name","loc":{"start": {"line": 51,"column":7}, "end": {"line":51,"column":11}},"value":"size"},"value":{"kind":"Variable","loc":{"start": {"line": 51,"column":13}, "end": {"line":51,"column":18}},"name":{"kind":"Name","loc":{"start": {"line": 51,"column":13}, "end": {"line":51,"column":18}},"value":"size"}}},{"kind":"Argument","loc":{"start": {"line": 51,"column":20}, "end": {"line":51,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 51,"column":20}, "end": {"line":51,"column":23}},"value":"bar"},"value":{"kind":"Variable","loc":{"start": {"line": 51,"column":25}, "end": {"line":51,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 51,"column":25}, "end": {"line":51,"column":27}},"value":"b"}}},{"kind":"Argument","loc":{"start": {"line": 51,"column":29}, "end": {"line":51,"column":48}},"name":{"kind":"Name","loc":{"start": {"line": 51,"column":29}, "end": {"line":51,"column":32}},"value":"obj"},"value":{"kind":"ObjectValue","loc":{"start": {"line": 51,"column":34}, "end": {"line":51,"column":48}},"fields":[{"kind":"ObjectField","loc":{"start": {"line": 51,"column":35}, "end": {"line":51,"column":47}},"name":{"kind":"Name","loc":{"start": {"line": 51,"column":35}, "end": {"line":51,"column":38}},"value":"key"},"value":{"kind":"StringValue","loc":{"start": {"line": 51,"column":40}, "end": {"line":51,"column":47}},"value":"value"}}]}}],"directives":null,"selectionSet":null}]}},{"kind":"OperationDefinition","loc":{"start": {"line": 54,"column":1}, "end": {"line":57,"column":2}},"operation":"query","name":null,"variableDefinitions":null,"directives":null,"selectionSet":{"kind":"SelectionSet","loc":{"start": {"line": 54,"column":1}, "end": {"line":57,"column":2}},"selections":[{"kind":"Field","loc":{"start": {"line": 55,"column":3}, "end": {"line":55,"column":54}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 55,"column":3}, "end": {"line":55,"column":10}},"value":"unnamed"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 55,"column":11}, "end": {"line":55,"column":23}},"name":{"kind":"Name","loc":{"start": {"line": 55,"column":11}, "end": {"line":55,"column":17}},"value":"truthy"},"value":{"kind":"BooleanValue","loc":{"start": {"line": 55,"column":19}, "end": {"line":55,"column":23}},"value":true}},{"kind":"Argument","loc":{"start": {"line": 55,"column":25}, "end": {"line":55,"column":38}},"name":{"kind":"Name","loc":{"start": {"line": 55,"column":25}, "end": {"line":55,"column":31}},"value":"falsey"},"value":{"kind":"BooleanValue","loc":{"start": {"line": 55,"column":33}, "end": {"line":55,"column":38}},"value":false}},{"kind":"Argument","loc":{"start": {"line": 55,"column":40}, "end": {"line":55,"column":53}},"name":{"kind":"Name","loc":{"start": {"line": 55,"column":40}, "end": {"line":55,"column":47}},"value":"nullish"},"value":{"kind":"NullValue","loc":{"start": {"line": 55,"column":49}, "end": {"line":55,"column":53}}}}],"directives":null,"selectionSet":null},{"kind":"Field","loc":{"start": {"line": 56,"column":3}, "end": {"line":56,"column":8}},"alias":null,"name":{"kind":"Name","loc":{"start": {"line": 56,"column":3}, "end": {"line":56,"column":8}},"value":"query"},"arguments":null,"directives":null,"selectionSet":null}]}}]} \ No newline at end of file diff --git a/test/schema-kitchen-sink.json b/test/schema-kitchen-sink.json index 46f4faf..ccdc8d4 100644 --- a/test/schema-kitchen-sink.json +++ b/test/schema-kitchen-sink.json @@ -1 +1 @@ -{"kind":"Document","loc":{"start": {"line": 2,"column":1}, "end": {"line":68,"column":21}},"definitions":[{"kind":"SchemaDefinition","loc":{"start": {"line": 2,"column":1}, "end": {"line":5,"column":2}},"directives":null,"operationTypes":[{"kind":"OperationTypeDefinition","loc":{"start": {"line": 3,"column":3}, "end": {"line":3,"column":19}},"operation":"query","type":{"kind":"NamedType","loc":{"start": {"line": 3,"column":10}, "end": {"line":3,"column":19}},"name":{"kind":"Name","loc":{"start": {"line": 3,"column":10}, "end": {"line":3,"column":19}},"value":"QueryType"}}},{"kind":"OperationTypeDefinition","loc":{"start": {"line": 4,"column":3}, "end": {"line":4,"column":25}},"operation":"mutation","type":{"kind":"NamedType","loc":{"start": {"line": 4,"column":13}, "end": {"line":4,"column":25}},"name":{"kind":"Name","loc":{"start": {"line": 4,"column":13}, "end": {"line":4,"column":25}},"value":"MutationType"}}}]},{"kind":"ObjectTypeDefinition","loc":{"start": {"line": 7,"column":1}, "end": {"line":15,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 7,"column":6}, "end": {"line":7,"column":9}},"value":"Foo"},"interfaces":[{"kind":"NamedType","loc":{"start": {"line": 7,"column":21}, "end": {"line":7,"column":24}},"name":{"kind":"Name","loc":{"start": {"line": 7,"column":21}, "end": {"line":7,"column":24}},"value":"Bar"}}],"directives":null,"fields":[{"kind":"FieldDefinition","loc":{"start": {"line": 8,"column":3}, "end": {"line":8,"column":12}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":3}, "end": {"line":8,"column":6}},"value":"one"},"arguments":null,"type":{"kind":"NamedType","loc":{"start": {"line": 8,"column":8}, "end": {"line":8,"column":12}},"name":{"kind":"Name","loc":{"start": {"line": 8,"column":8}, "end": {"line":8,"column":12}},"value":"Type"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 9,"column":3}, "end": {"line":9,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 9,"column":3}, "end": {"line":9,"column":6}},"value":"two"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 9,"column":7}, "end": {"line":9,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 9,"column":7}, "end": {"line":9,"column":15}},"value":"argument"},"type":{"kind":"NonNullType","loc":{"start": {"line": 9,"column":17}, "end": {"line":9,"column":27}},"type":{"kind":"NamedType","loc":{"start": {"line": 9,"column":17}, "end": {"line":9,"column":26}},"name":{"kind":"Name","loc":{"start": {"line": 9,"column":17}, "end": {"line":9,"column":26}},"value":"InputType"}}},"defaultValue":null,"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 9,"column":30}, "end": {"line":9,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 9,"column":30}, "end": {"line":9,"column":34}},"value":"Type"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 10,"column":3}, "end": {"line":10,"column":49}},"name":{"kind":"Name","loc":{"start": {"line": 10,"column":3}, "end": {"line":10,"column":8}},"value":"three"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 10,"column":9}, "end": {"line":10,"column":28}},"name":{"kind":"Name","loc":{"start": {"line": 10,"column":9}, "end": {"line":10,"column":17}},"value":"argument"},"type":{"kind":"NamedType","loc":{"start": {"line": 10,"column":19}, "end": {"line":10,"column":28}},"name":{"kind":"Name","loc":{"start": {"line": 10,"column":19}, "end": {"line":10,"column":28}},"value":"InputType"}},"defaultValue":null,"directives":null},{"kind":"InputValueDefinition","loc":{"start": {"line": 10,"column":30}, "end": {"line":10,"column":43}},"name":{"kind":"Name","loc":{"start": {"line": 10,"column":30}, "end": {"line":10,"column":35}},"value":"other"},"type":{"kind":"NamedType","loc":{"start": {"line": 10,"column":37}, "end": {"line":10,"column":43}},"name":{"kind":"Name","loc":{"start": {"line": 10,"column":37}, "end": {"line":10,"column":43}},"value":"String"}},"defaultValue":null,"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 10,"column":46}, "end": {"line":10,"column":49}},"name":{"kind":"Name","loc":{"start": {"line": 10,"column":46}, "end": {"line":10,"column":49}},"value":"Int"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 11,"column":3}, "end": {"line":11,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 11,"column":3}, "end": {"line":11,"column":7}},"value":"four"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 11,"column":8}, "end": {"line":11,"column":26}},"name":{"kind":"Name","loc":{"start": {"line": 11,"column":8}, "end": {"line":11,"column":16}},"value":"argument"},"type":{"kind":"NamedType","loc":{"start": {"line": 11,"column":18}, "end": {"line":11,"column":24}},"name":{"kind":"Name","loc":{"start": {"line": 11,"column":18}, "end": {"line":11,"column":24}},"value":"String"}},"defaultValue":{"kind":"StringValue","loc":{"start": {"line": 11,"column":25}, "end": {"line":11,"column":26}},"value":"string"},"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 11,"column":44}, "end": {"line":11,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 11,"column":44}, "end": {"line":11,"column":50}},"value":"String"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 12,"column":3}, "end": {"line":12,"column":70}},"name":{"kind":"Name","loc":{"start": {"line": 12,"column":3}, "end": {"line":12,"column":7}},"value":"five"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 12,"column":8}, "end": {"line":12,"column":61}},"name":{"kind":"Name","loc":{"start": {"line": 12,"column":8}, "end": {"line":12,"column":16}},"value":"argument"},"type":{"kind":"ListType","loc":{"start": {"line": 12,"column":18}, "end": {"line":12,"column":26}},"type":{"kind":"NamedType","loc":{"start": {"line": 12,"column":19}, "end": {"line":12,"column":25}},"name":{"kind":"Name","loc":{"start": {"line": 12,"column":19}, "end": {"line":12,"column":25}},"value":"String"}}},"defaultValue":{"kind":"ListValue","loc":{"start": {"line": 12,"column":29}, "end": {"line":12,"column":61}},"values":[{"kind":"StringValue","loc":{"start": {"line": 12,"column":29}, "end": {"line":12,"column":30}},"value":"string"},{"kind":"StringValue","loc":{"start": {"line": 12,"column":29}, "end": {"line":12,"column":30}},"value":"string"}]},"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 12,"column":64}, "end": {"line":12,"column":70}},"name":{"kind":"Name","loc":{"start": {"line": 12,"column":64}, "end": {"line":12,"column":70}},"value":"String"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 13,"column":3}, "end": {"line":13,"column":55}},"name":{"kind":"Name","loc":{"start": {"line": 13,"column":3}, "end": {"line":13,"column":6}},"value":"six"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 13,"column":7}, "end": {"line":13,"column":48}},"name":{"kind":"Name","loc":{"start": {"line": 13,"column":7}, "end": {"line":13,"column":15}},"value":"argument"},"type":{"kind":"NamedType","loc":{"start": {"line": 13,"column":17}, "end": {"line":13,"column":26}},"name":{"kind":"Name","loc":{"start": {"line": 13,"column":17}, "end": {"line":13,"column":26}},"value":"InputType"}},"defaultValue":{"kind":"ObjectValue","loc":{"start": {"line": 13,"column":29}, "end": {"line":13,"column":48}},"fields":[{"kind":"ObjectField","loc":{"start": {"line": 13,"column":30}, "end": {"line":13,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 13,"column":30}, "end": {"line":13,"column":33}},"value":"key"},"value":{"kind":"StringValue","loc":{"start": {"line": 13,"column":33}, "end": {"line":13,"column":34}},"value":"value"}}]},"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 13,"column":51}, "end": {"line":13,"column":55}},"name":{"kind":"Name","loc":{"start": {"line": 13,"column":51}, "end": {"line":13,"column":55}},"value":"Type"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 14,"column":3}, "end": {"line":14,"column":36}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":3}, "end": {"line":14,"column":8}},"value":"seven"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 14,"column":9}, "end": {"line":14,"column":29}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":9}, "end": {"line":14,"column":17}},"value":"argument"},"type":{"kind":"NamedType","loc":{"start": {"line": 14,"column":19}, "end": {"line":14,"column":22}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":19}, "end": {"line":14,"column":22}},"value":"Int"}},"defaultValue":{"kind":"NullValue","loc":{"start": {"line": 14,"column":25}, "end": {"line":14,"column":29}}},"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 14,"column":32}, "end": {"line":14,"column":36}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":32}, "end": {"line":14,"column":36}},"value":"Type"}},"directives":null}]},{"kind":"ObjectTypeDefinition","loc":{"start": {"line": 17,"column":1}, "end": {"line":19,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 17,"column":6}, "end": {"line":17,"column":21}},"value":"AnnotatedObject"},"interfaces":null,"directives":[{"kind":"Directive","loc":{"start": {"line": 17,"column":22}, "end": {"line":17,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 17,"column":23}, "end": {"line":17,"column":31}},"value":"onObject"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 17,"column":32}, "end": {"line":17,"column":36}},"name":{"kind":"Name","loc":{"start": {"line": 17,"column":32}, "end": {"line":17,"column":35}},"value":"arg"},"value":{"kind":"StringValue","loc":{"start": {"line": 17,"column":35}, "end": {"line":17,"column":36}},"value":"value"}}]}],"fields":[{"kind":"FieldDefinition","loc":{"start": {"line": 18,"column":3}, "end": {"line":18,"column":69}},"name":{"kind":"Name","loc":{"start": {"line": 18,"column":3}, "end": {"line":18,"column":17}},"value":"annotatedField"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 18,"column":18}, "end": {"line":18,"column":53}},"name":{"kind":"Name","loc":{"start": {"line": 18,"column":18}, "end": {"line":18,"column":21}},"value":"arg"},"type":{"kind":"NamedType","loc":{"start": {"line": 18,"column":23}, "end": {"line":18,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 18,"column":23}, "end": {"line":18,"column":27}},"value":"Type"}},"defaultValue":{"kind":"StringValue","loc":{"start": {"line": 18,"column":28}, "end": {"line":18,"column":29}},"value":"default"},"directives":[{"kind":"Directive","loc":{"start": {"line": 18,"column":47}, "end": {"line":18,"column":53}},"name":{"kind":"Name","loc":{"start": {"line": 18,"column":48}, "end": {"line":18,"column":53}},"value":"onArg"},"arguments":null}]}],"type":{"kind":"NamedType","loc":{"start": {"line": 18,"column":56}, "end": {"line":18,"column":60}},"name":{"kind":"Name","loc":{"start": {"line": 18,"column":56}, "end": {"line":18,"column":60}},"value":"Type"}},"directives":[{"kind":"Directive","loc":{"start": {"line": 18,"column":61}, "end": {"line":18,"column":69}},"name":{"kind":"Name","loc":{"start": {"line": 18,"column":62}, "end": {"line":18,"column":69}},"value":"onField"},"arguments":null}]}]},{"kind":"InterfaceTypeDefinition","loc":{"start": {"line": 21,"column":1}, "end": {"line":24,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 21,"column":11}, "end": {"line":21,"column":14}},"value":"Bar"},"directives":null,"fields":[{"kind":"FieldDefinition","loc":{"start": {"line": 22,"column":3}, "end": {"line":22,"column":12}},"name":{"kind":"Name","loc":{"start": {"line": 22,"column":3}, "end": {"line":22,"column":6}},"value":"one"},"arguments":null,"type":{"kind":"NamedType","loc":{"start": {"line": 22,"column":8}, "end": {"line":22,"column":12}},"name":{"kind":"Name","loc":{"start": {"line": 22,"column":8}, "end": {"line":22,"column":12}},"value":"Type"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 23,"column":3}, "end": {"line":23,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 23,"column":3}, "end": {"line":23,"column":7}},"value":"four"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 23,"column":8}, "end": {"line":23,"column":26}},"name":{"kind":"Name","loc":{"start": {"line": 23,"column":8}, "end": {"line":23,"column":16}},"value":"argument"},"type":{"kind":"NamedType","loc":{"start": {"line": 23,"column":18}, "end": {"line":23,"column":24}},"name":{"kind":"Name","loc":{"start": {"line": 23,"column":18}, "end": {"line":23,"column":24}},"value":"String"}},"defaultValue":{"kind":"StringValue","loc":{"start": {"line": 23,"column":25}, "end": {"line":23,"column":26}},"value":"string"},"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 23,"column":44}, "end": {"line":23,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 23,"column":44}, "end": {"line":23,"column":50}},"value":"String"}},"directives":null}]},{"kind":"InterfaceTypeDefinition","loc":{"start": {"line": 26,"column":1}, "end": {"line":28,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 26,"column":11}, "end": {"line":26,"column":29}},"value":"AnnotatedInterface"},"directives":[{"kind":"Directive","loc":{"start": {"line": 26,"column":30}, "end": {"line":26,"column":42}},"name":{"kind":"Name","loc":{"start": {"line": 26,"column":31}, "end": {"line":26,"column":42}},"value":"onInterface"},"arguments":null}],"fields":[{"kind":"FieldDefinition","loc":{"start": {"line": 27,"column":3}, "end": {"line":27,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 27,"column":3}, "end": {"line":27,"column":17}},"value":"annotatedField"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 27,"column":18}, "end": {"line":27,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 27,"column":18}, "end": {"line":27,"column":21}},"value":"arg"},"type":{"kind":"NamedType","loc":{"start": {"line": 27,"column":23}, "end": {"line":27,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 27,"column":23}, "end": {"line":27,"column":27}},"value":"Type"}},"defaultValue":null,"directives":[{"kind":"Directive","loc":{"start": {"line": 27,"column":28}, "end": {"line":27,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 27,"column":29}, "end": {"line":27,"column":34}},"value":"onArg"},"arguments":null}]}],"type":{"kind":"NamedType","loc":{"start": {"line": 27,"column":37}, "end": {"line":27,"column":41}},"name":{"kind":"Name","loc":{"start": {"line": 27,"column":37}, "end": {"line":27,"column":41}},"value":"Type"}},"directives":[{"kind":"Directive","loc":{"start": {"line": 27,"column":42}, "end": {"line":27,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 27,"column":43}, "end": {"line":27,"column":50}},"value":"onField"},"arguments":null}]}]},{"kind":"UnionTypeDefinition","loc":{"start": {"line": 30,"column":1}, "end": {"line":30,"column":38}},"name":{"kind":"Name","loc":{"start": {"line": 30,"column":7}, "end": {"line":30,"column":11}},"value":"Feed"},"directives":null,"types":[{"kind":"NamedType","loc":{"start": {"line": 30,"column":14}, "end": {"line":30,"column":19}},"name":{"kind":"Name","loc":{"start": {"line": 30,"column":14}, "end": {"line":30,"column":19}},"value":"Story"}},{"kind":"NamedType","loc":{"start": {"line": 30,"column":22}, "end": {"line":30,"column":29}},"name":{"kind":"Name","loc":{"start": {"line": 30,"column":22}, "end": {"line":30,"column":29}},"value":"Article"}},{"kind":"NamedType","loc":{"start": {"line": 30,"column":32}, "end": {"line":30,"column":38}},"name":{"kind":"Name","loc":{"start": {"line": 30,"column":32}, "end": {"line":30,"column":38}},"value":"Advert"}}]},{"kind":"UnionTypeDefinition","loc":{"start": {"line": 32,"column":1}, "end": {"line":32,"column":38}},"name":{"kind":"Name","loc":{"start": {"line": 32,"column":7}, "end": {"line":32,"column":21}},"value":"AnnotatedUnion"},"directives":[{"kind":"Directive","loc":{"start": {"line": 32,"column":22}, "end": {"line":32,"column":30}},"name":{"kind":"Name","loc":{"start": {"line": 32,"column":23}, "end": {"line":32,"column":30}},"value":"onUnion"},"arguments":null}],"types":[{"kind":"NamedType","loc":{"start": {"line": 32,"column":33}, "end": {"line":32,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 32,"column":33}, "end": {"line":32,"column":34}},"value":"A"}},{"kind":"NamedType","loc":{"start": {"line": 32,"column":37}, "end": {"line":32,"column":38}},"name":{"kind":"Name","loc":{"start": {"line": 32,"column":37}, "end": {"line":32,"column":38}},"value":"B"}}]},{"kind":"ScalarTypeDefinition","loc":{"start": {"line": 34,"column":1}, "end": {"line":34,"column":20}},"name":{"kind":"Name","loc":{"start": {"line": 34,"column":8}, "end": {"line":34,"column":20}},"value":"CustomScalar"},"directives":null},{"kind":"ScalarTypeDefinition","loc":{"start": {"line": 36,"column":1}, "end": {"line":36,"column":33}},"name":{"kind":"Name","loc":{"start": {"line": 36,"column":8}, "end": {"line":36,"column":23}},"value":"AnnotatedScalar"},"directives":[{"kind":"Directive","loc":{"start": {"line": 36,"column":24}, "end": {"line":36,"column":33}},"name":{"kind":"Name","loc":{"start": {"line": 36,"column":25}, "end": {"line":36,"column":33}},"value":"onScalar"},"arguments":null}]},{"kind":"EnumTypeDefinition","loc":{"start": {"line": 38,"column":1}, "end": {"line":41,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 38,"column":6}, "end": {"line":38,"column":10}},"value":"Site"},"directives":null,"values":[{"kind":"EnumValueDefinition","loc":{"start": {"line": 39,"column":3}, "end": {"line":39,"column":10}},"name":{"kind":"Name","loc":{"start": {"line": 39,"column":3}, "end": {"line":39,"column":10}},"value":"DESKTOP"},"directives":null},{"kind":"EnumValueDefinition","loc":{"start": {"line": 40,"column":3}, "end": {"line":40,"column":9}},"name":{"kind":"Name","loc":{"start": {"line": 40,"column":3}, "end": {"line":40,"column":9}},"value":"MOBILE"},"directives":null}]},{"kind":"EnumTypeDefinition","loc":{"start": {"line": 43,"column":1}, "end": {"line":46,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 43,"column":6}, "end": {"line":43,"column":19}},"value":"AnnotatedEnum"},"directives":[{"kind":"Directive","loc":{"start": {"line": 43,"column":20}, "end": {"line":43,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 43,"column":21}, "end": {"line":43,"column":27}},"value":"onEnum"},"arguments":null}],"values":[{"kind":"EnumValueDefinition","loc":{"start": {"line": 44,"column":3}, "end": {"line":44,"column":31}},"name":{"kind":"Name","loc":{"start": {"line": 44,"column":3}, "end": {"line":44,"column":18}},"value":"ANNOTATED_VALUE"},"directives":[{"kind":"Directive","loc":{"start": {"line": 44,"column":19}, "end": {"line":44,"column":31}},"name":{"kind":"Name","loc":{"start": {"line": 44,"column":20}, "end": {"line":44,"column":31}},"value":"onEnumValue"},"arguments":null}]},{"kind":"EnumValueDefinition","loc":{"start": {"line": 45,"column":3}, "end": {"line":45,"column":14}},"name":{"kind":"Name","loc":{"start": {"line": 45,"column":3}, "end": {"line":45,"column":14}},"value":"OTHER_VALUE"},"directives":null}]},{"kind":"InputObjectTypeDefinition","loc":{"start": {"line": 48,"column":1}, "end": {"line":51,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 48,"column":7}, "end": {"line":48,"column":16}},"value":"InputType"},"directives":null,"fields":[{"kind":"InputValueDefinition","loc":{"start": {"line": 49,"column":3}, "end": {"line":49,"column":15}},"name":{"kind":"Name","loc":{"start": {"line": 49,"column":3}, "end": {"line":49,"column":6}},"value":"key"},"type":{"kind":"NonNullType","loc":{"start": {"line": 49,"column":8}, "end": {"line":49,"column":15}},"type":{"kind":"NamedType","loc":{"start": {"line": 49,"column":8}, "end": {"line":49,"column":14}},"name":{"kind":"Name","loc":{"start": {"line": 49,"column":8}, "end": {"line":49,"column":14}},"value":"String"}}},"defaultValue":null,"directives":null},{"kind":"InputValueDefinition","loc":{"start": {"line": 50,"column":3}, "end": {"line":50,"column":19}},"name":{"kind":"Name","loc":{"start": {"line": 50,"column":3}, "end": {"line":50,"column":9}},"value":"answer"},"type":{"kind":"NamedType","loc":{"start": {"line": 50,"column":11}, "end": {"line":50,"column":14}},"name":{"kind":"Name","loc":{"start": {"line": 50,"column":11}, "end": {"line":50,"column":14}},"value":"Int"}},"defaultValue":{"kind":"IntValue","loc":{"start": {"line": 50,"column":17}, "end": {"line":50,"column":19}},"value":"42"},"directives":null}]},{"kind":"InputObjectTypeDefinition","loc":{"start": {"line": 53,"column":1}, "end": {"line":55,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 53,"column":7}, "end": {"line":53,"column":21}},"value":"AnnotatedInput"},"directives":[{"kind":"Directive","loc":{"start": {"line": 53,"column":22}, "end": {"line":53,"column":40}},"name":{"kind":"Name","loc":{"start": {"line": 53,"column":23}, "end": {"line":53,"column":40}},"value":"onInputObjectType"},"arguments":null}],"fields":[{"kind":"InputValueDefinition","loc":{"start": {"line": 54,"column":3}, "end": {"line":54,"column":32}},"name":{"kind":"Name","loc":{"start": {"line": 54,"column":3}, "end": {"line":54,"column":17}},"value":"annotatedField"},"type":{"kind":"NamedType","loc":{"start": {"line": 54,"column":19}, "end": {"line":54,"column":23}},"name":{"kind":"Name","loc":{"start": {"line": 54,"column":19}, "end": {"line":54,"column":23}},"value":"Type"}},"defaultValue":null,"directives":[{"kind":"Directive","loc":{"start": {"line": 54,"column":24}, "end": {"line":54,"column":32}},"name":{"kind":"Name","loc":{"start": {"line": 54,"column":25}, "end": {"line":54,"column":32}},"value":"onField"},"arguments":null}]}]},{"kind":"TypeExtensionDefinition","loc":{"start": {"line": 57,"column":1}, "end": {"line":59,"column":2}},"definition":{"kind":"ObjectTypeDefinition","loc":{"start": {"line": 57,"column":8}, "end": {"line":59,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 57,"column":13}, "end": {"line":57,"column":16}},"value":"Foo"},"interfaces":null,"directives":null,"fields":[{"kind":"FieldDefinition","loc":{"start": {"line": 58,"column":3}, "end": {"line":58,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 58,"column":3}, "end": {"line":58,"column":8}},"value":"seven"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 58,"column":9}, "end": {"line":58,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 58,"column":9}, "end": {"line":58,"column":17}},"value":"argument"},"type":{"kind":"ListType","loc":{"start": {"line": 58,"column":19}, "end": {"line":58,"column":27}},"type":{"kind":"NamedType","loc":{"start": {"line": 58,"column":20}, "end": {"line":58,"column":26}},"name":{"kind":"Name","loc":{"start": {"line": 58,"column":20}, "end": {"line":58,"column":26}},"value":"String"}}},"defaultValue":null,"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 58,"column":30}, "end": {"line":58,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 58,"column":30}, "end": {"line":58,"column":34}},"value":"Type"}},"directives":null}]}},{"kind":"DirectiveDefinition","loc":{"start": {"line": 63,"column":1}, "end": {"line":63,"column":75}},"name":{"kind":"Name","loc":{"start": {"line": 63,"column":12}, "end": {"line":63,"column":16}},"value":"skip"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 63,"column":17}, "end": {"line":63,"column":29}},"name":{"kind":"Name","loc":{"start": {"line": 63,"column":17}, "end": {"line":63,"column":19}},"value":"if"},"type":{"kind":"NonNullType","loc":{"start": {"line": 63,"column":21}, "end": {"line":63,"column":29}},"type":{"kind":"NamedType","loc":{"start": {"line": 63,"column":21}, "end": {"line":63,"column":28}},"name":{"kind":"Name","loc":{"start": {"line": 63,"column":21}, "end": {"line":63,"column":28}},"value":"Boolean"}}},"defaultValue":null,"directives":null}],"locations":[{"kind":"Name","loc":{"start": {"line": 63,"column":34}, "end": {"line":63,"column":39}},"value":"FIELD"},{"kind":"Name","loc":{"start": {"line": 63,"column":42}, "end": {"line":63,"column":57}},"value":"FRAGMENT_SPREAD"},{"kind":"Name","loc":{"start": {"line": 63,"column":60}, "end": {"line":63,"column":75}},"value":"INLINE_FRAGMENT"}]},{"kind":"DirectiveDefinition","loc":{"start": {"line": 65,"column":1}, "end": {"line":68,"column":21}},"name":{"kind":"Name","loc":{"start": {"line": 65,"column":12}, "end": {"line":65,"column":19}},"value":"include"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 65,"column":20}, "end": {"line":65,"column":32}},"name":{"kind":"Name","loc":{"start": {"line": 65,"column":20}, "end": {"line":65,"column":22}},"value":"if"},"type":{"kind":"NonNullType","loc":{"start": {"line": 65,"column":24}, "end": {"line":65,"column":32}},"type":{"kind":"NamedType","loc":{"start": {"line": 65,"column":24}, "end": {"line":65,"column":31}},"name":{"kind":"Name","loc":{"start": {"line": 65,"column":24}, "end": {"line":65,"column":31}},"value":"Boolean"}}},"defaultValue":null,"directives":null}],"locations":[{"kind":"Name","loc":{"start": {"line": 66,"column":6}, "end": {"line":66,"column":11}},"value":"FIELD"},{"kind":"Name","loc":{"start": {"line": 67,"column":6}, "end": {"line":67,"column":21}},"value":"FRAGMENT_SPREAD"},{"kind":"Name","loc":{"start": {"line": 68,"column":6}, "end": {"line":68,"column":21}},"value":"INLINE_FRAGMENT"}]}]} \ No newline at end of file +{"kind":"Document","loc":{"start": {"line": 8,"column":1}, "end": {"line":78,"column":21}},"definitions":[{"kind":"SchemaDefinition","loc":{"start": {"line": 8,"column":1}, "end": {"line":11,"column":2}},"directives":null,"operationTypes":[{"kind":"OperationTypeDefinition","loc":{"start": {"line": 9,"column":3}, "end": {"line":9,"column":19}},"operation":"query","type":{"kind":"NamedType","loc":{"start": {"line": 9,"column":10}, "end": {"line":9,"column":19}},"name":{"kind":"Name","loc":{"start": {"line": 9,"column":10}, "end": {"line":9,"column":19}},"value":"QueryType"}}},{"kind":"OperationTypeDefinition","loc":{"start": {"line": 10,"column":3}, "end": {"line":10,"column":25}},"operation":"mutation","type":{"kind":"NamedType","loc":{"start": {"line": 10,"column":13}, "end": {"line":10,"column":25}},"name":{"kind":"Name","loc":{"start": {"line": 10,"column":13}, "end": {"line":10,"column":25}},"value":"MutationType"}}}]},{"kind":"ObjectTypeDefinition","loc":{"start": {"line": 13,"column":1}, "end": {"line":21,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 13,"column":6}, "end": {"line":13,"column":9}},"value":"Foo"},"interfaces":[{"kind":"NamedType","loc":{"start": {"line": 13,"column":21}, "end": {"line":13,"column":24}},"name":{"kind":"Name","loc":{"start": {"line": 13,"column":21}, "end": {"line":13,"column":24}},"value":"Bar"}}],"directives":null,"fields":[{"kind":"FieldDefinition","loc":{"start": {"line": 14,"column":3}, "end": {"line":14,"column":12}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":3}, "end": {"line":14,"column":6}},"value":"one"},"arguments":null,"type":{"kind":"NamedType","loc":{"start": {"line": 14,"column":8}, "end": {"line":14,"column":12}},"name":{"kind":"Name","loc":{"start": {"line": 14,"column":8}, "end": {"line":14,"column":12}},"value":"Type"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 15,"column":3}, "end": {"line":15,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 15,"column":3}, "end": {"line":15,"column":6}},"value":"two"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 15,"column":7}, "end": {"line":15,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 15,"column":7}, "end": {"line":15,"column":15}},"value":"argument"},"type":{"kind":"NonNullType","loc":{"start": {"line": 15,"column":17}, "end": {"line":15,"column":27}},"type":{"kind":"NamedType","loc":{"start": {"line": 15,"column":17}, "end": {"line":15,"column":26}},"name":{"kind":"Name","loc":{"start": {"line": 15,"column":17}, "end": {"line":15,"column":26}},"value":"InputType"}}},"defaultValue":null,"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 15,"column":30}, "end": {"line":15,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 15,"column":30}, "end": {"line":15,"column":34}},"value":"Type"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 16,"column":3}, "end": {"line":16,"column":49}},"name":{"kind":"Name","loc":{"start": {"line": 16,"column":3}, "end": {"line":16,"column":8}},"value":"three"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 16,"column":9}, "end": {"line":16,"column":28}},"name":{"kind":"Name","loc":{"start": {"line": 16,"column":9}, "end": {"line":16,"column":17}},"value":"argument"},"type":{"kind":"NamedType","loc":{"start": {"line": 16,"column":19}, "end": {"line":16,"column":28}},"name":{"kind":"Name","loc":{"start": {"line": 16,"column":19}, "end": {"line":16,"column":28}},"value":"InputType"}},"defaultValue":null,"directives":null},{"kind":"InputValueDefinition","loc":{"start": {"line": 16,"column":30}, "end": {"line":16,"column":43}},"name":{"kind":"Name","loc":{"start": {"line": 16,"column":30}, "end": {"line":16,"column":35}},"value":"other"},"type":{"kind":"NamedType","loc":{"start": {"line": 16,"column":37}, "end": {"line":16,"column":43}},"name":{"kind":"Name","loc":{"start": {"line": 16,"column":37}, "end": {"line":16,"column":43}},"value":"String"}},"defaultValue":null,"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 16,"column":46}, "end": {"line":16,"column":49}},"name":{"kind":"Name","loc":{"start": {"line": 16,"column":46}, "end": {"line":16,"column":49}},"value":"Int"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 17,"column":3}, "end": {"line":17,"column":44}},"name":{"kind":"Name","loc":{"start": {"line": 17,"column":3}, "end": {"line":17,"column":7}},"value":"four"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 17,"column":8}, "end": {"line":17,"column":35}},"name":{"kind":"Name","loc":{"start": {"line": 17,"column":8}, "end": {"line":17,"column":16}},"value":"argument"},"type":{"kind":"NamedType","loc":{"start": {"line": 17,"column":18}, "end": {"line":17,"column":24}},"name":{"kind":"Name","loc":{"start": {"line": 17,"column":18}, "end": {"line":17,"column":24}},"value":"String"}},"defaultValue":{"kind":"StringValue","loc":{"start": {"line": 17,"column":27}, "end": {"line":17,"column":35}},"value":"string"},"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 17,"column":38}, "end": {"line":17,"column":44}},"name":{"kind":"Name","loc":{"start": {"line": 17,"column":38}, "end": {"line":17,"column":44}},"value":"String"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 18,"column":3}, "end": {"line":18,"column":58}},"name":{"kind":"Name","loc":{"start": {"line": 18,"column":3}, "end": {"line":18,"column":7}},"value":"five"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 18,"column":8}, "end": {"line":18,"column":49}},"name":{"kind":"Name","loc":{"start": {"line": 18,"column":8}, "end": {"line":18,"column":16}},"value":"argument"},"type":{"kind":"ListType","loc":{"start": {"line": 18,"column":18}, "end": {"line":18,"column":26}},"type":{"kind":"NamedType","loc":{"start": {"line": 18,"column":19}, "end": {"line":18,"column":25}},"name":{"kind":"Name","loc":{"start": {"line": 18,"column":19}, "end": {"line":18,"column":25}},"value":"String"}}},"defaultValue":{"kind":"ListValue","loc":{"start": {"line": 18,"column":29}, "end": {"line":18,"column":49}},"values":[{"kind":"StringValue","loc":{"start": {"line": 18,"column":30}, "end": {"line":18,"column":38}},"value":"string"},{"kind":"StringValue","loc":{"start": {"line": 18,"column":40}, "end": {"line":18,"column":48}},"value":"string"}]},"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 18,"column":52}, "end": {"line":18,"column":58}},"name":{"kind":"Name","loc":{"start": {"line": 18,"column":52}, "end": {"line":18,"column":58}},"value":"String"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 19,"column":3}, "end": {"line":19,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 19,"column":3}, "end": {"line":19,"column":6}},"value":"six"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 19,"column":7}, "end": {"line":19,"column":43}},"name":{"kind":"Name","loc":{"start": {"line": 19,"column":7}, "end": {"line":19,"column":15}},"value":"argument"},"type":{"kind":"NamedType","loc":{"start": {"line": 19,"column":17}, "end": {"line":19,"column":26}},"name":{"kind":"Name","loc":{"start": {"line": 19,"column":17}, "end": {"line":19,"column":26}},"value":"InputType"}},"defaultValue":{"kind":"ObjectValue","loc":{"start": {"line": 19,"column":29}, "end": {"line":19,"column":43}},"fields":[{"kind":"ObjectField","loc":{"start": {"line": 19,"column":30}, "end": {"line":19,"column":42}},"name":{"kind":"Name","loc":{"start": {"line": 19,"column":30}, "end": {"line":19,"column":33}},"value":"key"},"value":{"kind":"StringValue","loc":{"start": {"line": 19,"column":35}, "end": {"line":19,"column":42}},"value":"value"}}]},"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 19,"column":46}, "end": {"line":19,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 19,"column":46}, "end": {"line":19,"column":50}},"value":"Type"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 20,"column":3}, "end": {"line":20,"column":36}},"name":{"kind":"Name","loc":{"start": {"line": 20,"column":3}, "end": {"line":20,"column":8}},"value":"seven"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 20,"column":9}, "end": {"line":20,"column":29}},"name":{"kind":"Name","loc":{"start": {"line": 20,"column":9}, "end": {"line":20,"column":17}},"value":"argument"},"type":{"kind":"NamedType","loc":{"start": {"line": 20,"column":19}, "end": {"line":20,"column":22}},"name":{"kind":"Name","loc":{"start": {"line": 20,"column":19}, "end": {"line":20,"column":22}},"value":"Int"}},"defaultValue":{"kind":"NullValue","loc":{"start": {"line": 20,"column":25}, "end": {"line":20,"column":29}}},"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 20,"column":32}, "end": {"line":20,"column":36}},"name":{"kind":"Name","loc":{"start": {"line": 20,"column":32}, "end": {"line":20,"column":36}},"value":"Type"}},"directives":null}]},{"kind":"ObjectTypeDefinition","loc":{"start": {"line": 23,"column":1}, "end": {"line":25,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 23,"column":6}, "end": {"line":23,"column":21}},"value":"AnnotatedObject"},"interfaces":null,"directives":[{"kind":"Directive","loc":{"start": {"line": 23,"column":22}, "end": {"line":23,"column":45}},"name":{"kind":"Name","loc":{"start": {"line": 23,"column":23}, "end": {"line":23,"column":31}},"value":"onObject"},"arguments":[{"kind":"Argument","loc":{"start": {"line": 23,"column":32}, "end": {"line":23,"column":44}},"name":{"kind":"Name","loc":{"start": {"line": 23,"column":32}, "end": {"line":23,"column":35}},"value":"arg"},"value":{"kind":"StringValue","loc":{"start": {"line": 23,"column":37}, "end": {"line":23,"column":44}},"value":"value"}}]}],"fields":[{"kind":"FieldDefinition","loc":{"start": {"line": 24,"column":3}, "end": {"line":24,"column":62}},"name":{"kind":"Name","loc":{"start": {"line": 24,"column":3}, "end": {"line":24,"column":17}},"value":"annotatedField"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 24,"column":18}, "end": {"line":24,"column":46}},"name":{"kind":"Name","loc":{"start": {"line": 24,"column":18}, "end": {"line":24,"column":21}},"value":"arg"},"type":{"kind":"NamedType","loc":{"start": {"line": 24,"column":23}, "end": {"line":24,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 24,"column":23}, "end": {"line":24,"column":27}},"value":"Type"}},"defaultValue":{"kind":"StringValue","loc":{"start": {"line": 24,"column":30}, "end": {"line":24,"column":39}},"value":"default"},"directives":[{"kind":"Directive","loc":{"start": {"line": 24,"column":40}, "end": {"line":24,"column":46}},"name":{"kind":"Name","loc":{"start": {"line": 24,"column":41}, "end": {"line":24,"column":46}},"value":"onArg"},"arguments":null}]}],"type":{"kind":"NamedType","loc":{"start": {"line": 24,"column":49}, "end": {"line":24,"column":53}},"name":{"kind":"Name","loc":{"start": {"line": 24,"column":49}, "end": {"line":24,"column":53}},"value":"Type"}},"directives":[{"kind":"Directive","loc":{"start": {"line": 24,"column":54}, "end": {"line":24,"column":62}},"name":{"kind":"Name","loc":{"start": {"line": 24,"column":55}, "end": {"line":24,"column":62}},"value":"onField"},"arguments":null}]}]},{"kind":"InterfaceTypeDefinition","loc":{"start": {"line": 27,"column":1}, "end": {"line":30,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 27,"column":11}, "end": {"line":27,"column":14}},"value":"Bar"},"directives":null,"fields":[{"kind":"FieldDefinition","loc":{"start": {"line": 28,"column":3}, "end": {"line":28,"column":12}},"name":{"kind":"Name","loc":{"start": {"line": 28,"column":3}, "end": {"line":28,"column":6}},"value":"one"},"arguments":null,"type":{"kind":"NamedType","loc":{"start": {"line": 28,"column":8}, "end": {"line":28,"column":12}},"name":{"kind":"Name","loc":{"start": {"line": 28,"column":8}, "end": {"line":28,"column":12}},"value":"Type"}},"directives":null},{"kind":"FieldDefinition","loc":{"start": {"line": 29,"column":3}, "end": {"line":29,"column":44}},"name":{"kind":"Name","loc":{"start": {"line": 29,"column":3}, "end": {"line":29,"column":7}},"value":"four"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 29,"column":8}, "end": {"line":29,"column":35}},"name":{"kind":"Name","loc":{"start": {"line": 29,"column":8}, "end": {"line":29,"column":16}},"value":"argument"},"type":{"kind":"NamedType","loc":{"start": {"line": 29,"column":18}, "end": {"line":29,"column":24}},"name":{"kind":"Name","loc":{"start": {"line": 29,"column":18}, "end": {"line":29,"column":24}},"value":"String"}},"defaultValue":{"kind":"StringValue","loc":{"start": {"line": 29,"column":27}, "end": {"line":29,"column":35}},"value":"string"},"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 29,"column":38}, "end": {"line":29,"column":44}},"name":{"kind":"Name","loc":{"start": {"line": 29,"column":38}, "end": {"line":29,"column":44}},"value":"String"}},"directives":null}]},{"kind":"InterfaceTypeDefinition","loc":{"start": {"line": 32,"column":1}, "end": {"line":34,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 32,"column":11}, "end": {"line":32,"column":29}},"value":"AnnotatedInterface"},"directives":[{"kind":"Directive","loc":{"start": {"line": 32,"column":30}, "end": {"line":32,"column":42}},"name":{"kind":"Name","loc":{"start": {"line": 32,"column":31}, "end": {"line":32,"column":42}},"value":"onInterface"},"arguments":null}],"fields":[{"kind":"FieldDefinition","loc":{"start": {"line": 33,"column":3}, "end": {"line":33,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 33,"column":3}, "end": {"line":33,"column":17}},"value":"annotatedField"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 33,"column":18}, "end": {"line":33,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 33,"column":18}, "end": {"line":33,"column":21}},"value":"arg"},"type":{"kind":"NamedType","loc":{"start": {"line": 33,"column":23}, "end": {"line":33,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 33,"column":23}, "end": {"line":33,"column":27}},"value":"Type"}},"defaultValue":null,"directives":[{"kind":"Directive","loc":{"start": {"line": 33,"column":28}, "end": {"line":33,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 33,"column":29}, "end": {"line":33,"column":34}},"value":"onArg"},"arguments":null}]}],"type":{"kind":"NamedType","loc":{"start": {"line": 33,"column":37}, "end": {"line":33,"column":41}},"name":{"kind":"Name","loc":{"start": {"line": 33,"column":37}, "end": {"line":33,"column":41}},"value":"Type"}},"directives":[{"kind":"Directive","loc":{"start": {"line": 33,"column":42}, "end": {"line":33,"column":50}},"name":{"kind":"Name","loc":{"start": {"line": 33,"column":43}, "end": {"line":33,"column":50}},"value":"onField"},"arguments":null}]}]},{"kind":"UnionTypeDefinition","loc":{"start": {"line": 36,"column":1}, "end": {"line":36,"column":38}},"name":{"kind":"Name","loc":{"start": {"line": 36,"column":7}, "end": {"line":36,"column":11}},"value":"Feed"},"directives":null,"types":[{"kind":"NamedType","loc":{"start": {"line": 36,"column":14}, "end": {"line":36,"column":19}},"name":{"kind":"Name","loc":{"start": {"line": 36,"column":14}, "end": {"line":36,"column":19}},"value":"Story"}},{"kind":"NamedType","loc":{"start": {"line": 36,"column":22}, "end": {"line":36,"column":29}},"name":{"kind":"Name","loc":{"start": {"line": 36,"column":22}, "end": {"line":36,"column":29}},"value":"Article"}},{"kind":"NamedType","loc":{"start": {"line": 36,"column":32}, "end": {"line":36,"column":38}},"name":{"kind":"Name","loc":{"start": {"line": 36,"column":32}, "end": {"line":36,"column":38}},"value":"Advert"}}]},{"kind":"UnionTypeDefinition","loc":{"start": {"line": 38,"column":1}, "end": {"line":38,"column":38}},"name":{"kind":"Name","loc":{"start": {"line": 38,"column":7}, "end": {"line":38,"column":21}},"value":"AnnotatedUnion"},"directives":[{"kind":"Directive","loc":{"start": {"line": 38,"column":22}, "end": {"line":38,"column":30}},"name":{"kind":"Name","loc":{"start": {"line": 38,"column":23}, "end": {"line":38,"column":30}},"value":"onUnion"},"arguments":null}],"types":[{"kind":"NamedType","loc":{"start": {"line": 38,"column":33}, "end": {"line":38,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 38,"column":33}, "end": {"line":38,"column":34}},"value":"A"}},{"kind":"NamedType","loc":{"start": {"line": 38,"column":37}, "end": {"line":38,"column":38}},"name":{"kind":"Name","loc":{"start": {"line": 38,"column":37}, "end": {"line":38,"column":38}},"value":"B"}}]},{"kind":"ScalarTypeDefinition","loc":{"start": {"line": 40,"column":1}, "end": {"line":40,"column":20}},"name":{"kind":"Name","loc":{"start": {"line": 40,"column":8}, "end": {"line":40,"column":20}},"value":"CustomScalar"},"directives":null},{"kind":"ScalarTypeDefinition","loc":{"start": {"line": 42,"column":1}, "end": {"line":42,"column":33}},"name":{"kind":"Name","loc":{"start": {"line": 42,"column":8}, "end": {"line":42,"column":23}},"value":"AnnotatedScalar"},"directives":[{"kind":"Directive","loc":{"start": {"line": 42,"column":24}, "end": {"line":42,"column":33}},"name":{"kind":"Name","loc":{"start": {"line": 42,"column":25}, "end": {"line":42,"column":33}},"value":"onScalar"},"arguments":null}]},{"kind":"EnumTypeDefinition","loc":{"start": {"line": 44,"column":1}, "end": {"line":47,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 44,"column":6}, "end": {"line":44,"column":10}},"value":"Site"},"directives":null,"values":[{"kind":"EnumValueDefinition","loc":{"start": {"line": 45,"column":3}, "end": {"line":45,"column":10}},"name":{"kind":"Name","loc":{"start": {"line": 45,"column":3}, "end": {"line":45,"column":10}},"value":"DESKTOP"},"directives":null},{"kind":"EnumValueDefinition","loc":{"start": {"line": 46,"column":3}, "end": {"line":46,"column":9}},"name":{"kind":"Name","loc":{"start": {"line": 46,"column":3}, "end": {"line":46,"column":9}},"value":"MOBILE"},"directives":null}]},{"kind":"EnumTypeDefinition","loc":{"start": {"line": 49,"column":1}, "end": {"line":52,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 49,"column":6}, "end": {"line":49,"column":19}},"value":"AnnotatedEnum"},"directives":[{"kind":"Directive","loc":{"start": {"line": 49,"column":20}, "end": {"line":49,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 49,"column":21}, "end": {"line":49,"column":27}},"value":"onEnum"},"arguments":null}],"values":[{"kind":"EnumValueDefinition","loc":{"start": {"line": 50,"column":3}, "end": {"line":50,"column":31}},"name":{"kind":"Name","loc":{"start": {"line": 50,"column":3}, "end": {"line":50,"column":18}},"value":"ANNOTATED_VALUE"},"directives":[{"kind":"Directive","loc":{"start": {"line": 50,"column":19}, "end": {"line":50,"column":31}},"name":{"kind":"Name","loc":{"start": {"line": 50,"column":20}, "end": {"line":50,"column":31}},"value":"onEnumValue"},"arguments":null}]},{"kind":"EnumValueDefinition","loc":{"start": {"line": 51,"column":3}, "end": {"line":51,"column":14}},"name":{"kind":"Name","loc":{"start": {"line": 51,"column":3}, "end": {"line":51,"column":14}},"value":"OTHER_VALUE"},"directives":null}]},{"kind":"InputObjectTypeDefinition","loc":{"start": {"line": 54,"column":1}, "end": {"line":57,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 54,"column":7}, "end": {"line":54,"column":16}},"value":"InputType"},"directives":null,"fields":[{"kind":"InputValueDefinition","loc":{"start": {"line": 55,"column":3}, "end": {"line":55,"column":15}},"name":{"kind":"Name","loc":{"start": {"line": 55,"column":3}, "end": {"line":55,"column":6}},"value":"key"},"type":{"kind":"NonNullType","loc":{"start": {"line": 55,"column":8}, "end": {"line":55,"column":15}},"type":{"kind":"NamedType","loc":{"start": {"line": 55,"column":8}, "end": {"line":55,"column":14}},"name":{"kind":"Name","loc":{"start": {"line": 55,"column":8}, "end": {"line":55,"column":14}},"value":"String"}}},"defaultValue":null,"directives":null},{"kind":"InputValueDefinition","loc":{"start": {"line": 56,"column":3}, "end": {"line":56,"column":19}},"name":{"kind":"Name","loc":{"start": {"line": 56,"column":3}, "end": {"line":56,"column":9}},"value":"answer"},"type":{"kind":"NamedType","loc":{"start": {"line": 56,"column":11}, "end": {"line":56,"column":14}},"name":{"kind":"Name","loc":{"start": {"line": 56,"column":11}, "end": {"line":56,"column":14}},"value":"Int"}},"defaultValue":{"kind":"IntValue","loc":{"start": {"line": 56,"column":17}, "end": {"line":56,"column":19}},"value":"42"},"directives":null}]},{"kind":"InputObjectTypeDefinition","loc":{"start": {"line": 59,"column":1}, "end": {"line":61,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 59,"column":7}, "end": {"line":59,"column":21}},"value":"AnnotatedInput"},"directives":[{"kind":"Directive","loc":{"start": {"line": 59,"column":22}, "end": {"line":59,"column":40}},"name":{"kind":"Name","loc":{"start": {"line": 59,"column":23}, "end": {"line":59,"column":40}},"value":"onInputObjectType"},"arguments":null}],"fields":[{"kind":"InputValueDefinition","loc":{"start": {"line": 60,"column":3}, "end": {"line":60,"column":32}},"name":{"kind":"Name","loc":{"start": {"line": 60,"column":3}, "end": {"line":60,"column":17}},"value":"annotatedField"},"type":{"kind":"NamedType","loc":{"start": {"line": 60,"column":19}, "end": {"line":60,"column":23}},"name":{"kind":"Name","loc":{"start": {"line": 60,"column":19}, "end": {"line":60,"column":23}},"value":"Type"}},"defaultValue":null,"directives":[{"kind":"Directive","loc":{"start": {"line": 60,"column":24}, "end": {"line":60,"column":32}},"name":{"kind":"Name","loc":{"start": {"line": 60,"column":25}, "end": {"line":60,"column":32}},"value":"onField"},"arguments":null}]}]},{"kind":"TypeExtensionDefinition","loc":{"start": {"line": 63,"column":1}, "end": {"line":65,"column":2}},"definition":{"kind":"ObjectTypeDefinition","loc":{"start": {"line": 63,"column":8}, "end": {"line":65,"column":2}},"name":{"kind":"Name","loc":{"start": {"line": 63,"column":13}, "end": {"line":63,"column":16}},"value":"Foo"},"interfaces":null,"directives":null,"fields":[{"kind":"FieldDefinition","loc":{"start": {"line": 64,"column":3}, "end": {"line":64,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 64,"column":3}, "end": {"line":64,"column":8}},"value":"seven"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 64,"column":9}, "end": {"line":64,"column":27}},"name":{"kind":"Name","loc":{"start": {"line": 64,"column":9}, "end": {"line":64,"column":17}},"value":"argument"},"type":{"kind":"ListType","loc":{"start": {"line": 64,"column":19}, "end": {"line":64,"column":27}},"type":{"kind":"NamedType","loc":{"start": {"line": 64,"column":20}, "end": {"line":64,"column":26}},"name":{"kind":"Name","loc":{"start": {"line": 64,"column":20}, "end": {"line":64,"column":26}},"value":"String"}}},"defaultValue":null,"directives":null}],"type":{"kind":"NamedType","loc":{"start": {"line": 64,"column":30}, "end": {"line":64,"column":34}},"name":{"kind":"Name","loc":{"start": {"line": 64,"column":30}, "end": {"line":64,"column":34}},"value":"Type"}},"directives":null}]}},{"kind":"DirectiveDefinition","loc":{"start": {"line": 73,"column":1}, "end": {"line":73,"column":75}},"name":{"kind":"Name","loc":{"start": {"line": 73,"column":12}, "end": {"line":73,"column":16}},"value":"skip"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 73,"column":17}, "end": {"line":73,"column":29}},"name":{"kind":"Name","loc":{"start": {"line": 73,"column":17}, "end": {"line":73,"column":19}},"value":"if"},"type":{"kind":"NonNullType","loc":{"start": {"line": 73,"column":21}, "end": {"line":73,"column":29}},"type":{"kind":"NamedType","loc":{"start": {"line": 73,"column":21}, "end": {"line":73,"column":28}},"name":{"kind":"Name","loc":{"start": {"line": 73,"column":21}, "end": {"line":73,"column":28}},"value":"Boolean"}}},"defaultValue":null,"directives":null}],"locations":[{"kind":"Name","loc":{"start": {"line": 73,"column":34}, "end": {"line":73,"column":39}},"value":"FIELD"},{"kind":"Name","loc":{"start": {"line": 73,"column":42}, "end": {"line":73,"column":57}},"value":"FRAGMENT_SPREAD"},{"kind":"Name","loc":{"start": {"line": 73,"column":60}, "end": {"line":73,"column":75}},"value":"INLINE_FRAGMENT"}]},{"kind":"DirectiveDefinition","loc":{"start": {"line": 75,"column":1}, "end": {"line":78,"column":21}},"name":{"kind":"Name","loc":{"start": {"line": 75,"column":12}, "end": {"line":75,"column":19}},"value":"include"},"arguments":[{"kind":"InputValueDefinition","loc":{"start": {"line": 75,"column":20}, "end": {"line":75,"column":32}},"name":{"kind":"Name","loc":{"start": {"line": 75,"column":20}, "end": {"line":75,"column":22}},"value":"if"},"type":{"kind":"NonNullType","loc":{"start": {"line": 75,"column":24}, "end": {"line":75,"column":32}},"type":{"kind":"NamedType","loc":{"start": {"line": 75,"column":24}, "end": {"line":75,"column":31}},"name":{"kind":"Name","loc":{"start": {"line": 75,"column":24}, "end": {"line":75,"column":31}},"value":"Boolean"}}},"defaultValue":null,"directives":null}],"locations":[{"kind":"Name","loc":{"start": {"line": 76,"column":6}, "end": {"line":76,"column":11}},"value":"FIELD"},{"kind":"Name","loc":{"start": {"line": 77,"column":6}, "end": {"line":77,"column":21}},"value":"FRAGMENT_SPREAD"},{"kind":"Name","loc":{"start": {"line": 78,"column":6}, "end": {"line":78,"column":21}},"value":"INLINE_FRAGMENT"}]}]} \ No newline at end of file