Patch Changes
-
fix(vue-query): allow reactive and getter values as
queryKeyproperty inqueryOptions(#10530)This fixes a regression introduced in #10452 where
queryOptionsonly accepted plain arrays for thequeryKeyproperty, but notcomputedrefs,Refvalues, or getter functions. The related fix in #10465 only covered theenabledproperty.Now the
queryKeyproperty inqueryOptionsaccepts the same reactive forms asenabled:- Plain
QueryKeyarrays Ref<QueryKey>ComputedRef<QueryKey>() => QueryKey(getter)
- Plain
-
Updated dependencies []:
- @tanstack/query-core@5.100.11