Details
-
Epic
-
Resolution: Fixed
-
P2: Important
-
QDS 3.3
-
None
-
Two step parsing in asset import
Description
Components are often dependent on each other.
So far the dependency was only on Types and this dependency was taken care of by a lazy type assignment after the parsing was done.
With the introduction of Component sets(Figma variants), the complete component must be available to resolve the dependency as states are generated. To achieve this we must create a dependency graph of the components to be imported to order the import.
Following issues/requirements shall be fulfilled:
- No lazy type assignments as Types shall be available beforehand.
- We can catch cyclic dependency of QML items before generation.
- Nested components can be built correctly.
- We can resolve types before property assignments, which will allow us to provide better support in Qt-Bridge plugins to play with bindings.
- We should have better support of overrides after this.
Attachments
Issue Links
- is required for
-
QDS-6830 nested variants create broken component
- Closed