Skip to content

defineMutation loses arguments passed to setup function #245

Closed Answered by posva
hackel asked this question in Questions
Discussion options

You must be logged in to vote

defineMutation() doesn't define a composable, it defines a singleton. In your case, you need a composable, so remove the defineMutation() and export the function directly.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hackel
Comment options

@posva
Comment options

posva Apr 1, 2025
Maintainer

Answer selected by hackel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #244 on April 01, 2025 19:04.