-
-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Operation.operationName property has been depreciated with async headers #1354
Comments
I'm wondering whether this is more of a question? So first of all, we've deprecated our Now that being said, it's possible to see the I'm not sure what you're referring to with the other example. If you'd like to learn more about the
I'm not sure if you're referring to authentication in general, but the docs above are our general recommendation and I wouldn't describe them as high-effort and rather a low-effort solution that'll also support refreshing tokens if you need that case supported.
As long as something accesses |
For people wondering why they receive the deprecated warning all the time without ever using |
I am using the fetchOptionsExhange to support async headers:
https://formidable.com/open-source/urql/docs/common-questions/#how-do-we-achieve-asynchronous-fetchoptions
However, I get the
Operation.operationName property has been depreciated
warning while debugging... rather annoying. The other proposed solution uses localStorage and authState which are NOT the same thing, and the latter being React only.Two notes here:
1.) Could we not make this native so it works without adding this crazy code.... simply like with websockets or apollo?
2.) Is it possible to get rid of the warning?
The text was updated successfully, but these errors were encountered: