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

Mutation gcTime #132

Open
tsiotska opened this issue Dec 15, 2024 · 1 comment
Open

Mutation gcTime #132

tsiotska opened this issue Dec 15, 2024 · 1 comment
Labels
✨ feature request a new feature request

Comments

@tsiotska
Copy link

Extend Mutation with gcTime (already implemented for Query).

UseMutationOptions:
https://github.com/posva/pinia-colada/blob/main/src/use-mutation.ts#L50

UseQueryOptions:
https://github.com/posva/pinia-colada/blob/main/src/query-options.ts#L124

@posva
Copy link
Owner

posva commented Dec 19, 2024

While gcTime for mutations is planned note that it's not about matching UseQueryOptions and UseMutationOptions 😄 . For example, I don't think it makes much sense to preserve mutation results if there is no key because they won't be a way to retrieve it

@posva posva moved this from 🆕 Triaging to Todo in Pinia Colada Roadmap Dec 19, 2024
@posva posva added the ✨ feature request a new feature request label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature request a new feature request
Projects
Status: Todo
Development

No branches or pull requests

2 participants