-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Store - Cyclical Dependency Detected when child computed property defined before parent & grand-parent computed proprety #1399
Comments
https://svelte.technology/repl?version=2.4.1&gist=0d39be6e28701514a3d1705ad2c151df works, as the child is defined after the grand-parent & before the parent. |
It would also be great if the "Cyclical Dependency Detected" error message could include the property names. |
Looks like performing https://svelte.technology/repl?version=2.4.1&gist=0343cdb56da5862510ddafa9ac467dec |
fixed in 2.4.2, thanks |
Edge Case: When
store.compute
is called to define a child that refers to a parent and a grand-parent computed property, aCyclical Dependency Detected
error occurs.https://svelte.technology/repl?version=2.4.1&gist=4a4c7371386120a1ed9878b5da741d41
The text was updated successfully, but these errors were encountered: