graphql-php/tests/Experimental/Executor/CollectorTestSnapshots/ShouldEmitIfIncludeConditionTrue.json

82 lines
2.8 KiB
JSON
Raw Permalink Normal View History

{
"pipeline": [
{
"fieldNodes": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "droid"
},
"arguments": [
{
"kind": "Argument",
"value": {
"kind": "Variable",
"name": {
"kind": "Name",
"value": "id"
}
},
"name": {
"kind": "Name",
"value": "id"
}
}
],
"directives": [
{
"kind": "Directive",
"name": {
"kind": "Name",
"value": "include"
},
"arguments": [
{
"kind": "Argument",
"value": {
"kind": "Variable",
"name": {
"kind": "Name",
"value": "condition"
}
},
"name": {
"kind": "Name",
"value": "if"
}
}
]
}
],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "id"
},
"arguments": [],
"directives": []
}
]
}
}
],
"fieldName": "droid",
"resultName": "droid",
"argumentValueMap": {
"id": {
"kind": "Variable",
"name": {
"kind": "Name",
"value": "id"
}
}
}
}
]
}