Support Vue getters #5461
-
Vue 3.3 introduced a concept of getters, similar to a I think all that's really needed to support this in Tanstack Query is to use toValue instead of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This seems to be interesting, but could be tricky to implement, due to the fact that we accept a set of functions in |
Beta Was this translation helpful? Give feedback.
This seems to be interesting, but could be tricky to implement, due to the fact that we accept a set of functions in
queryOptions
, likequeryFn
,select
etc and we do not actually want to evaluate them during unwrapping.Additionally we need to deeply unwrap the options to account for nested refs.