scale-it/algo-builder

Support object type for token and string type for port in config

miker83z opened this issue · 2 comments

Describe the bug

The config only allows string type for token and number type for port, while AlgodClient accepts also an object (i.e., AlgodTokenHeader and CustomTokenHeader) for the token and string type for port.

Possible Solution

In config-validation:

  • Validate token for string and object
  • Validate port for string and number

Environment

  • algob version: 1.2.1

@miker83z thanks for reporting.

It's solved in develop branch. We are going to make a release this week.