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

fix: cache value false to rewrite default cache policy #625

Open
wants to merge 1 commit into
base: improve/async-query
Choose a base branch
from

Conversation

Stanislavsonder
Copy link

Now cache: false is not affecting on the query policy. So, if the application has 'cache-first' and you need a query with disabled caching, it is not feasible to achieve. This small fix should allow to do it.

@sneakylenny
Copy link

sneakylenny commented Jun 20, 2024

I need this too, I was even thinking about allowing to set the fetchPolicy manually. But I don't know if there's a reason it was decided to turn it into a boolean.

Try adding reviewers that are able to merge this.

@Stanislavsonder
Copy link
Author

Looks like I have no rights to add reviewers here :D All that I can do is ping folks and ask them to check. I am just wondering if this repo is still alive :D
@Diizzayy @danielroe

@timyourivh As a workaround, you can try to use "5.0.0-alpha.11" for now, which does not apply changes. But to be honest this cache issue is not my biggest problem with this module :)

@awacode21
Copy link

Hi guys, we are also dealing with the issue, BUT i think even this PR is not enough. Please see bug ticket: #631

@Stanislavsonder
Copy link
Author

@awacode21 GOOD LUCK :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants