(vars: GqlVar[], nodes: GqlNode[])
| 79 | ); |
| 80 | |
| 81 | export function buildQuery(vars: GqlVar[], nodes: GqlNode[]): GqlQuery { |
| 82 | return { |
| 83 | query: `query${toVarDefs(vars)}{${nodes.map((node) => bindProjections(node)).join(' ')}}`, |
| 84 | variables: toVariables(vars), |
| 85 | }; |
| 86 | } |
no test coverage detected