-
rhenck authored
- Elements initialize their fields explicitly and not with Object.assign, since Object.assign also assigns (and therefore overwrites) parent fields. - IDService is no longer an Angular service but a basic singleton. This allows to use it in classes. - The IDManager can be optionally passed to unit and element constructors. When present the elements check and fix their given ID when created. This way elements can be created without depending on the external IDManager but also with the dependency. - ElementFactory is no longer used to create elements. Those are now either created directly via 'new' or via the Section, which knows the different element types.
rhenck authored- Elements initialize their fields explicitly and not with Object.assign, since Object.assign also assigns (and therefore overwrites) parent fields. - IDService is no longer an Angular service but a basic singleton. This allows to use it in classes. - The IDManager can be optionally passed to unit and element constructors. When present the elements check and fix their given ID when created. This way elements can be created without depending on the external IDManager but also with the dependency. - ElementFactory is no longer used to create elements. Those are now either created directly via 'new' or via the Section, which knows the different element types.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.