Closed seanparmelee closed 1 year ago
This option is now required, just like with createClient
's options and other similar APIs. We may not have caught all places in the docs that need changing since there's many mentioning the client options overall ✌️
Thanks @kitten.
I'm happy to open a PR that corrects the docs. As for the code that's currently defaulting the exchanges, I'm guessing that'll get removed in the next major release of next-urql
?
@seanparmelee: I don't think a PR will be needed as the new PR should already be erasing this :v: I've marked it as resolving this issue
Describe the bug
Hello! 👋 I noticed the Next.js docs mentions:
I also see where this is handled in the code.
However, when I try to forgo passing
exchanges
:I receive the following TS error:
To reproduce this, please see the reproduction link. You'll need to open a terminal and run
yarn tsc
to see the error.Reproduction
https://codesandbox.io/s/vibrant-wozniak-7lhu9m
Urql version
urql v4.0.2 next-urql 5.0.1
Validations