Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(core): preferGetMethod type (#2758)

* Update client.ts

* Create curvy-monkeys-collect.md

Co-authored-by: Jovi De Croock <decroockjovi@gmail.com>

authored by

c-schwan
Jovi De Croock
and committed by
GitHub
42e5b6fd 38dc226c

+6 -1
+5
.changeset/curvy-monkeys-collect.md
··· 1 + --- 2 + "@urql/core": patch 3 + --- 4 + 5 + Update typings of the client to encompass the changes of https://github.com/FormidableLabs/urql/pull/2692
+1 -1
packages/core/src/client.ts
··· 66 66 /** The default request policy for requests. */ 67 67 requestPolicy?: RequestPolicy; 68 68 /** Use HTTP GET for queries. */ 69 - preferGetMethod?: boolean; 69 + preferGetMethod?: boolean | 'force' | 'within-url-limit'; 70 70 /** Mask __typename from results. */ 71 71 maskTypename?: boolean; 72 72 }