[YANGTOOLS-1441] Normalize Decimal64 scale in range constraints Created: 25/May/22  Updated: 25/Aug/22  Resolved: 10/Aug/22

Status: Resolved
Project: yangtools
Component/s: parser
Affects Version/s: None
Fix Version/s: 10.0.0

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Oleksandr Zharov
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks YANGTOOLS-1442 Enforce range constraints in DecimalS... Resolved
is blocked by YANGTOOLS-1440 Add support for adjusting Decimal64 s... Resolved

 Description   

yang.model.ri.type.DecimalTypeBuilder normalizes range constraints to Decimal64, but does not ensure these values also match the selected fraction-digits.

Update it so that it considers scales from base ranges and normalizes all values encountered to those fraction-digits.


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