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
Pyramid should only edit 1 root element and not a colleciton of root elements.
Why
Try to add a pyston containing multiple root elements to a new Pyramid project.
Now change the order of one of the element, or delete one of the element.
The pyston in the new project is in uncoherent state, it is no more a pyston because it does not corespond to any of the pyston definition of the system.
Therefor you loose the link between your new Pyramid project and the old Pyston you try to import.
If the pyston root is only one element, you could change the order, add or delete elements, the link between the new project and the pyston can still be there.
Therefor
You could edit the old pyston inside the new project and save the changes in the old pyston.
You could serialize the old pyston has only a pyston reference and not the entire tree of elements.
You could create the different subcomponent of your UI inside multiple Pyston and combining the Pyston together inside a global Pyston.
How to do it
Changing the model will broke all design made with Pyramid.
It is a bad design decision we made at the start of the project.
We have to think about a way to deprecate the old pyston whitout breaking all systems.
Ok! Thanks, can we think about a good way to depreciate old design?
Il should be nice to rebuild them with the futur new pattern but I think this is an alpha and this is the risk in this phase! However with Stash we can easily recover some code from old design to rebuild manually a new one.
It's impossible, the root element MUST BE a single element.
Need to change all of the architecture...
The text was updated successfully, but these errors were encountered: