We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0a9d8e commit b16aca2Copy full SHA for b16aca2
1 file changed
packages/graphql_client/src/clients/client.ts
@@ -40,7 +40,8 @@ export class TFGridGqlClient extends AbstractClient {
40
public merge<T extends MergableQuery>(queries: T) {
41
const options: RequestOptions[] = [];
42
for (const query in queries) {
43
- options.push(this[`__${query}` as any](...queries[query]));
+ // eslint-disable-next-line prefer-spread
44
+ options.push(this[`__${query}` as any].apply(this, queries[query]));
45
}
46
47
const mergedOptions = options.reduce(
0 commit comments