(document: string)
| 90 | const operationNamePattern = /(?:query|mutation|subscription)\s+(\w+)/; |
| 91 | |
| 92 | const getOperationName = (document: string): string | undefined => |
| 93 | document.match(operationNamePattern)?.[1]; |
| 94 | |
| 95 | const toClientError = ( |
| 96 | item: BatchItem, |