Skip to content

Commit

Permalink
Remove useGETForQueries option in BatchHttpLink.Options (#10962)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller authored Jun 9, 2023
1 parent a1dac63 commit 772cfa3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/spicy-waves-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@apollo/client': patch
---

Remove `useGETForQueries` option in `BatchHttpLink.Options` type since it is not supported.
2 changes: 1 addition & 1 deletion src/link/batch-http/batchHttpLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export namespace BatchHttpLink {
export type Options = Pick<
BatchLink.Options,
'batchMax' | 'batchDebounce' | 'batchInterval' | 'batchKey'
> & HttpOptions;
> & Omit<HttpOptions, 'useGETForQueries'>;
}

/**
Expand Down

0 comments on commit 772cfa3

Please sign in to comment.