-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add way to mark data as stale/invalid #287
Comments
Maybe https://kit.svelte.dev/docs/loading#output-dependencies can be used? I.e. the generated load would put all query names into the |
I think that this one might get a priority. What do you think? To move forward, what do we want to support?
|
I think we should support everything. The invalidation is CRITICAL. Btw thanks for all your work @jycouet @AlecAivazis! |
I think this is part of a larger conversation concerning how we want to organize the imperative API. Ideally we need to invalidate all instances of a type, a type with a specific id, and a field within a particular type. I think the API for doing this can get quite unwieldy unless we impose a little organization into the overall structure. I started fleshing out some of my thoughts here: #58 |
Let's close this one in favor of #58 which will take care of this. |
I'm going to reopen this since it will come as a second effort after #748 gets merged |
@AlecAivazis is this available as of today? |
Tests are passing, PR will be done later today 🥳 A lot of cool things will happen in the coming days 👀 |
Discussed in https://github.com/HoudiniGraphql/houdini/discussions/286
Originally posted by frederikhors April 23, 2022
Is there an invalidate() api like https://formidable.com/open-source/urql/docs/graphcache/cache-updates/#invalidating-entities?
The text was updated successfully, but these errors were encountered: