We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6011f13 commit 812bb11Copy full SHA for 812bb11
1 file changed
src/link/persisted-queries/index.ts
@@ -101,10 +101,11 @@ export declare namespace PersistedQueryLink {
101
/**
102
* Whether to use HTTP GET for hashed queries (excluding mutations).
103
*
104
- * When enabled, queries sent with just a hash will use GET requests.
105
- * This can improve caching but is not compatible with batching.
106
- *
107
- * Note: Mutations always use POST regardless of this setting.
+ * > [!NOTE]
+ * > If you want to use `GET` for non-mutation queries whether or not they
+ * > are hashed, pass `useGETForQueries: true` option to `HttpLink`
+ * > instead. If you want to use GET for all requests, pass `fetchOptions: {method: 'GET'}`
108
+ * > to `HttpLink`.
109
110
* @defaultValue `false`
111
*/
0 commit comments