Allow some properties of vue-query to accept getter functions #5990
Unanswered
Mini-ghost
asked this question in
Ideas
Replies: 2 comments 6 replies
-
Some of the options already support callback functions which are basically getters+. They are running just in time with additional context props. As for the others, there are a couple of questions
|
Beta Was this translation helpful? Give feedback.
6 replies
-
Just in case anyone else stumbles upon this discussion, getters are now supported for the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We often need to determine the value of
enabled
based on different conditions, maybe we can allow passing a getters in certain properties?like this:
This was discussed in Support Vue getters #5461, but here the focus is on specific attributes, such as the mentioned
enabled
.Beta Was this translation helpful? Give feedback.
All reactions