lisk-sdk
lisk-sdk copied to clipboard
Validator to support `length` property for a field for fixed length
Description
Introduce length
property in schema
- Update
validate()
function to handlelength
property. - Update
errorFormatterMap
- Update all over SDK to update schema where we use
minLength
andmaxLength
to manage fixed length in the schema
Acceptance Criteria
- Should have corresponding unit tests