urql-graphql / urql

The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
https://urql.dev/goto/docs
MIT License
8.57k stars 444 forks source link

fix(core): Fix `preferGetMethod` client option #3403

Closed Burbenog closed 9 months ago

Burbenog commented 9 months ago

Urql client was ignoring 'force' and 'within-url-limit' options for preferGetMethod by simply casting it to boolean.

Now preferGetMethod works as expected

changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: cc097e05b279a212fae643a270c46ee4f11b0d72

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------- | ----- | | @urql/core | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR