platform icon indicating copy to clipboard operation
platform copied to clipboard

propertyName in contract schema still requires 3 minimum characters

Open dashameter opened this issue 2 years ago • 0 comments

Property name to throws upon contract validation:

  propertyName: 'to',
  [Symbol(constructorArguments)]: [
    'must match pattern "^[a-zA-Z][a-zA-Z0-9-_]{1,62}[a-zA-Z0-9]$"',
    'pattern',
    '/documents/transaction/properties',
    '#/propertyNames/pattern',
    { pattern: '^[a-zA-Z][a-zA-Z0-9-_]{1,62}[a-zA-Z0-9]$' },
    'to'

Shumkov — No sure, honestly ). It's legacy. I don't see why they can't be just one char. @dashameter just make an issue and we fix it in v0.23

dashameter avatar Jun 01 '22 20:06 dashameter