(node: SelectionNode)
| 164 | } |
| 165 | |
| 166 | function isFieldNode(node: SelectionNode): node is FieldNode { |
| 167 | return node.kind === 'Field'; |
| 168 | } |
| 169 | |
| 170 | /* Recursively work down the AST to find a node with a matching path */ |
| 171 | function findNodePath(nodes: readonly SelectionNode[], path: string[]): FieldNode | undefined { |