[YANGTOOLS-1177] Enforce unique constraints when opted-in Created: 18/Nov/20 Updated: 16/Jan/24 Resolved: 04/Dec/20 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | data-impl |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0, 6.0.2 |
| Type: | New Feature | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
DataTreeConfiguration.uniqueIndexes is a configuration option we are currently ignoring. It should result in unique constraints being enforced. As a first step add UniqueValidation, which will perform external unindexed validation – i.e. will not keep additional state while ensuring all unique constraints are enforced. |