--- source: apollo-router/tests/set_context.rs expression: response --- { "data": { "t": { "id": "1", "u": { "field": 1234 } } }, "extensions": { "apolloQueryPlan": { "object": { "kind": "QueryPlan", "node": { "kind": "Sequence", "nodes": [ { "kind": "Fetch", "serviceName": "Subgraph1", "variableUsages": [], "operation": "query Query_Null_Param__Subgraph1__0{t{__typename prop id u{__typename id}}}", "operationName": "Query_Null_Param__Subgraph1__0", "operationKind": "query", "id": null, "inputRewrites": null, "outputRewrites": null, "contextRewrites": null, "schemaAwareHash": "4c0c9f83a57e9a50ff1f6dd601ec0a1588f1485d5cfb1015822af4017263e807", "authorization": { "is_authenticated": false, "scopes": [], "policies": [] } }, { "kind": "Flatten", "path": [ "", "t", "u" ], "node": { "kind": "Fetch", "serviceName": "Subgraph1", "requires": [ { "kind": "InlineFragment", "typeCondition": "U", "selections": [ { "kind": "Field", "name": "__typename" }, { "kind": "Field", "name": "id" } ] } ], "variableUsages": [ "contextualArgument_1_0" ], "operation": "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", "operationKind": "query", "id": null, "inputRewrites": null, "outputRewrites": null, "contextRewrites": [ { "kind": "KeyRenamer", "path": [ "..", "... on T", "prop" ], "renameKeyTo": "contextualArgument_1_0" } ], "schemaAwareHash": "8db802e78024d406645f1ddc8972255e917bc738bfbed281691a45e34c92debb", "authorization": { "is_authenticated": false, "scopes": [], "policies": [] } } } ] } }, "text": "QueryPlan {\n Sequence {\n Fetch(service: \"Subgraph1\") {\n {\n t {\n __typename\n prop\n id\n u {\n __typename\n id\n }\n }\n }\n },\n Flatten(path: \".t.u\") {\n Fetch(service: \"Subgraph1\") {\n {\n ... on U {\n __typename\n id\n }\n } =>\n {\n ... on U {\n field(a: $contextualArgument_1_0)\n }\n }\n },\n },\n },\n}" } } }