Add validation for array types in idl generator

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently validators are not used for parameters of type array in command argument parsing. For instance :

      tenantIds:
          description: "The identifier for the list of tenants being migrated."
          type: array<string>
          validator:
              callback: "tenant_migration_util::validateDatabasePrefix"

      The function validateDatabasePrefix is not called when the commands is called, which means there's no validation on tenantIds.

            Assignee:
            Didier Nadeau
            Reporter:
            Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: