[YANGTOOLS-943] Invert automatic lifecycle implementation Created: 30/Jan/19  Updated: 15/Mar/19

Status: Confirmed
Project: yangtools
Component/s: data-impl
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones YANGTOOLS-942 Turn AutomaticLifecycleMixin into a M... Resolved
Epic Link: unlabeled-YANGTOOLS-940

 Description   

With yangtools-2.1.0, the balance of lifecycle between the various node types has shifted. These days most nodes have automatic lifecycle, with presence containers and map entries being the only ones that require different treatment.

Invert the logic in SchemaAwareApplyOperation, so that automatic lifecycle becomes the default, and have the two outliers have a mixin which enforces presence.


Generated at Wed Feb 07 20:54:44 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.