[YANGTOOLS-1442] Enforce range constraints in DecimalStringCodec Created: 25/May/22  Updated: 03/Oct/22  Resolved: 03/Oct/22

Status: Resolved
Project: yangtools
Component/s: data-impl
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
is blocked by YANGTOOLS-1437 Normalize Decimal64 scale in DecimalS... Resolved
is blocked by YANGTOOLS-1441 Normalize Decimal64 scale in range co... Resolved

 Description   

DecimalStringCodec does not check whether the parsed value matches range constraints specified in DecimalTypeDefinition.
Add a check which will report YangInvalidValueException of failure, very much like AbstractIntegerStringCodec does.


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