@wearesage/schema
    Preparing search index...

    Function MaxLength

    • MaxLength decorator - validates that a string or array has maximum length

      Parameters

      • length: number
      • Optionalmessage: string

      Returns (target: any, propertyKey: string) => void