lisk-sdk icon indicating copy to clipboard operation
lisk-sdk copied to clipboard

Validator to support `length` property for a field for fixed length

Open ishantiw opened this issue 2 years ago • 0 comments

Description

Introduce length property in schema

  • Update validate() function to handle length property.
  • Update errorFormatterMap
  • Update all over SDK to update schema where we use minLength and maxLength to manage fixed length in the schema

Acceptance Criteria

  • Should have corresponding unit tests

ishantiw avatar Sep 21 '22 13:09 ishantiw