Skip to content

watch breaks for ref with shallowReadonly #712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
schTi opened this issue May 27, 2021 · 1 comment · Fixed by #714
Closed

watch breaks for ref with shallowReadonly #712

schTi opened this issue May 27, 2021 · 1 comment · Fixed by #714

Comments

@schTi
Copy link

schTi commented May 27, 2021

Version: v1.0.0-rc.10

After aligning the watch behavior in the latest release, my watchers are broken for ref variables, that have a shallowReadonly around them. This is because isRef does not return true for these kind of variables and so the getter will throw an error, that it got an invalid watch source.

Any chance to get this fixed?

@hyf0
Copy link
Contributor

hyf0 commented May 28, 2021

@schTi Could you provide an online example? That would be very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants