{ "mocks": [ { "request": { "query": "query Query__Subgraph1__0{t{__typename prop id u{__typename id}}}", "operationName": "Query__Subgraph1__0" }, "response": { "data": { "t": { "__typename": "T", "prop": "prop value", "id": "1", "u": { "__typename": "U", "id": "1" } } } } }, { "request": { "query": "query Query__Subgraph1__0{t{__typename prop id u{__typename id}}}", "operationName": "Query__Subgraph1__0" }, "response": { "data": { "t": { "__typename": "T", "prop": "prop value", "id": "1", "u": { "__typename": "U", "id": "1" } } } } }, { "request": { "query": "query Query__Subgraph1__0{t{__typename prop id uList{__typename id}}}", "operationName": "Query__Subgraph1__0" }, "response": { "data": { "t": { "__typename": "T", "prop": "prop value", "id": "1", "uList": [ { "__typename": "U", "id": "1" }, { "__typename": "U", "id": "2" }, { "__typename": "U", "id": "3" } ] } } } }, { "request": { "query": "query QueryLL__Subgraph1__0{tList{__typename prop id uList{__typename id}}}", "operationName": "QueryLL__Subgraph1__0" }, "response": { "data": { "tList": [ { "__typename": "T", "prop": "prop value 1", "id": "1", "uList": [ { "__typename": "U", "id": "3" } ] }, { "__typename": "T", "prop": "prop value 2", "id": "2", "uList": [ { "__typename": "U", "id": "4" } ] } ] } } }, { "request": { "query": "query QueryUnion__Subgraph1__0{k{__typename ...on A{__typename prop v{__typename id}}...on B{__typename prop v{__typename id}}}}", "operationName": "QueryUnion__Subgraph1__0" }, "response": { "data": { "k": { "__typename": "A", "prop": "prop value 3", "id": 1, "v": { "__typename": "V", "id": "2" } } } } }, { "request": { "query": "query Query__Subgraph1__1($representations:[_Any!]!$contextualArgument_1_0:String){_entities(representations:$representations){...on U{field(a:$contextualArgument_1_0)}}}", "operationName": "Query__Subgraph1__1", "variables": { "contextualArgument_1_0": "prop value", "representations": [{ "__typename": "U", "id": "1" }] } }, "response": { "data": { "_entities": [ { "id": "1", "field": 1234 } ] } } }, { "request": { "query": "query Query__Subgraph1__1($representations:[_Any!]!$contextualArgument_1_0:String){_entities(representations:$representations){...on U{field(a:$contextualArgument_1_0)}}}", "operationName": "Query__Subgraph1__1", "variables": { "contextualArgument_1_0": "prop value", "representations": [{ "__typename": "U", "id": "1" }] } }, "response": { "data": { "_entities": [ { "__typename": "U", "id": "1", "field": 1234 } ] } } }, { "request": { "query": "query Query__Subgraph1__1($representations:[_Any!]!$contextualArgument_1_0:String){_entities(representations:$representations){...on U{field(a:$contextualArgument_1_0)}}}", "operationName": "Query__Subgraph1__1", "variables": { "contextualArgument_1_0": "prop value", "representations": [ { "__typename": "U", "id": "1" }, { "__typename": "U", "id": "2" }, { "__typename": "U", "id": "3" } ] } }, "response": { "data": { "_entities": [ { "id": "1", "field": 1234 }, { "id": "2", "field": 2345 }, { "id": "3", "field": 3456 } ] } } }, { "request": { "query": "query QueryLL__Subgraph1__1($representations: [_Any!]!, $contextualArgument_1_0_0: String, $contextualArgument_1_0_1: String) { _0: _entities(representations: $representations) { ... on U { field(a: $contextualArgument_1_0_0) } } _1: _entities(representations: $representations) { ... on U { field(a: $contextualArgument_1_0_1) } } }", "operationName": "QueryLL__Subgraph1__1", "variables": { "contextualArgument_1_0_0": "prop value 1", "contextualArgument_1_0_1": "prop value 2", "representations": [ { "__typename": "U", "id": "3" }, { "__typename": "U", "id": "4" } ] } }, "response": { "data": { "_entities": [ { "id": "3", "field": 3456 }, { "id": "4", "field": 4567 } ] } } }, { "request": { "query": "query QueryLL__Subgraph1__1($representations: [_Any!]!, $contextualArgument_1_0_0: String, $contextualArgument_1_0_1: String) { _0: _entities(representations: $representations) { ... on U { field(a: $contextualArgument_1_0_0) } } _1: _entities(representations: $representations) { ... on U { field(a: $contextualArgument_1_0_1) } } }", "operationName": "QueryLL__Subgraph1__1", "variables": { "contextualArgument_1_0_1": "prop value 2", "contextualArgument_1_0_0": "prop value 1", "representations": [ { "__typename": "U", "id": "3" }, { "__typename": "U", "id": "4" } ] } }, "response": { "data": { "_entities": [ { "id": "3", "field": 3456 }, { "id": "4", "field": 4567 } ] } } }, { "request": { "query": "query QueryUnion__Subgraph1__1($representations:[_Any!]!$contextualArgument_1_1:String){_entities(representations:$representations){...on V{field(a:$contextualArgument_1_1)}}}", "operationName": "QueryUnion__Subgraph1__1", "variables": { "contextualArgument_1_1": "prop value 3", "representations": [{ "__typename": "V", "id": "2" }] } }, "response": { "data": { "_entities": [ { "id": "3", "field": 3456 } ] } } }, { "request": { "query": "query Query_Null_Param__Subgraph1__0{t{__typename prop id u{__typename id}}}", "operationName": "Query_Null_Param__Subgraph1__0" }, "response": { "data": { "t": { "__typename": "T", "prop": null, "id": "1", "u": { "__typename": "U", "id": "1" } } } } }, { "request": { "query": "query Query_Null_Param__Subgraph1__1($representations:[_Any!]!$contextualArgument_1_0:String){_entities(representations:$representations){...on U{field(a:$contextualArgument_1_0)}}}", "operationName": "Query_Null_Param__Subgraph1__1", "variables": { "contextualArgument_1_0": null, "representations": [{ "__typename": "U", "id": "1" }] } }, "response": { "data": { "_entities": [ { "id": "1", "field": 1234 } ] } } }, { "request": { "query": "query Query_type_mismatch__Subgraph1__0{t{__typename prop id u{__typename id}}}", "operationName": "Query_type_mismatch__Subgraph1__0" }, "response": { "data": { "t": { "__typename": "T", "prop": 7, "id": "1", "u": { "__typename": "U", "id": "1" } } } } }, { "request": { "query": "query Query_type_mismatch__Subgraph1__1($representations:[_Any!]!$contextualArgument_1_0:String){_entities(representations:$representations){...on U{field(a:$contextualArgument_1_0)}}}", "operationName": "Query_type_mismatch__Subgraph1__1", "variables": { "contextualArgument_1_0": 7, "representations": [{ "__typename": "U", "id": "1" }] } }, "response": { "data": { "_entities": [ { "id": "1", "field": 1234 } ] } } }, { "request": { "query": "query Query_fetch_failure__Subgraph1__0{t{__typename prop id u{__typename id}}}", "operationName": "Query_fetch_failure__Subgraph1__0" }, "response": { "data": { "t": { "__typename": "T", "prop": "prop value", "id": "1", "u": { "__typename": "U", "id": "1" } } } } }, { "request": { "query": "query Query_fetch_failure__Subgraph1__2($representations:[_Any!]!$contextualArgument_1_0:String){_entities(representations:$representations){...on U{field(a:$contextualArgument_1_0)}}}", "operationName": "Query_fetch_failure__Subgraph1__2", "variables": { "contextualArgument_1_0": "prop value", "representations": [{ "__typename": "U", "id": "1" }] } }, "response": { "data": { "t": { "__typename": "T", "prop": "prop value", "id": "1", "u": { "__typename": "U", "id": "1" } } } } }, { "request": { "query": "query Query_fetch_dependent_failure__Subgraph1__0{t{__typename prop id u{__typename id}}}", "operationName": "Query_fetch_dependent_failure__Subgraph1__0" }, "response": { "response": { "data": null, "errors": [{ "message": "Some error", "locations": [ { "line": 3, "column": 5 } ], "path": ["t", "u"] }] } } } ] }