Skip to content
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

Getting A on the result.data #11847

Closed
puneetkansal04 opened this issue May 16, 2024 · 4 comments
Closed

Getting A on the result.data #11847

puneetkansal04 opened this issue May 16, 2024 · 4 comments
Labels

Comments

@puneetkansal04
Copy link

Issue Description

var data = result.data; result.partial; var resultWithoutPartial = tslib.__rest(result, ["data", "partial"]);
this.toQueryResultCache.set(result, (queryResult = tslib.__assign(tslib.__assign(tslib.__assign({ data: data }, resultWithoutPartial), this.obsQueryFields), { client: this.client, obser

vable: this.observable, variables: this.observable.variables, called: !this.queryHookOptions.skip, previousData: this.previousData })));

Screenshot 2024-05-16 at 11 10 20 AM

Link to Reproduction

@apollo/client

Reproduction Steps

Getting this issue if I fired an api with the expired token and it throws a error of unauthorised.

@apollo/client version

3.10.4

@alessbell
Copy link
Contributor

Hi @puneetkansal04 👋 Can you please share the original code snippet with your query and the error policy you're using, and also the shape of the response when it throws an unauthorized error?

@jerelmiller
Copy link
Member

Possibly related #11846

@jerelmiller jerelmiller added the 🏓 awaiting-contributor-response requires input from a contributor label May 29, 2024
Copy link
Contributor

We're closing this issue now but feel free to ping the maintainers or open a new issue if you still need support. Thank you!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2024
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
For general questions, we recommend using StackOverflow or our discord server.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants