You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the readonly function with a Ref<Object[]>.
In 3.1.5 the result of function call is a Ref<DeepReadonly<Object[]>> and with a simple ref like Ref<string> the result is Ref<Readonly<string>>
Since 3.2.0-beta.1 a primitive type like string the result is no more Ref<Readonly<string>> but DeepReadonly<Ref<string>> and using the ref in a watch context the new / old value seems to be the ref instead of the value changed.
And the object from Ref<DeepReadonly<...>> became DeepReadonly<Ref<...>>
The text was updated successfully, but these errors were encountered:
Version
3.2.0-beta.4
Reproduction link
https://sfc.vuejs.org
Steps to reproduce
What is expected?
What is actually happening?
I'm using the
readonly
function with aRef<Object[]>
.In 3.1.5 the result of function call is a
Ref<DeepReadonly<Object[]>>
and with a simple ref likeRef<string>
the result isRef<Readonly<string>>
Since 3.2.0-beta.1 a primitive type like string the result is no more
Ref<Readonly<string>>
butDeepReadonly<Ref<string>>
and using the ref in a watch context the new / old value seems to be the ref instead of the value changed.And the object from
Ref<DeepReadonly<...>>
becameDeepReadonly<Ref<...>>
The text was updated successfully, but these errors were encountered: