CircleCI-Public / config-preview-sdk

Preview SDK for orb authors
85 stars 29 forks source link

Do you have any thought about supporting string-array in parameters? #131

Open jmatsu opened 5 years ago

jmatsu commented 5 years ago

Sometimes I wanted to use string-array during orb development. For example, it's when calling the builtin save_cache command.

commands:
  do_with_cache:
    parameters:
    ...
    paths:
       type: string-array
    steps:
       ...
       - save_cache:
          key: ...
          paths: << parameters.paths >> # not only single element. needs array.

What do you think about supporting string-array in parameters? Moreover, I'd like to know a workaround for this purpose if it exists.

ndintenfass commented 5 years ago

This is a limitation of the current system. It's on our radar to fix, but it's not yet slated for work.

jmatsu commented 5 years ago

Sure, thank you for your answer. 😄