-
Notifications
You must be signed in to change notification settings - Fork 16
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
Expand fonction broken by circular tree implementation #23
Comments
Hi, currently the library does not implement a stringify option. We had started this work initially but ran out of time unfortunately. See also #11 |
Ok! So, what's the interest of expand function?
with this function:
ducumented in #21 . I use the same logic but issue is not resolved. |
The expand function creates a local copy of the ember+ tree that is kept in sync with the remote tree. I don't really see the point of it personally, just requires a lot of memory and unnecessary updates. I will try to make some time to look at that timeout thing although we do not use the expand function ourselves anyway. |
Ok, so apart use of emberplus viewer, How to discover paths of parameters I need to control? |
It depends on your use case. If you have provider with a stable tree and element numbering und you only need some specific parameters, it's fine not to expand. |
You can use getElementByPath() with paths formatted like this :
It works!(If you already know identifier) |
Yes, it works in the client. For the server it is not implemented. |
Hi, LAWO had introduced a new implementation of MC2 ember+ tree representation between release 5 and release 6 with references to parent and children. Now, when you want to expand nodes, js see them as circular object so you can't expand the whole tree. Expand fonction return a circular object you can't stringify.... So you can only view the first level of expansion.
The text was updated successfully, but these errors were encountered: