base_output: useless with array results
-
I'm submitting a ...
- [ ] bug report
- [x] feature request
-
What is the current behavior? if I configure
base_output:
foo: bar
for a step that returns an array, my base output is ignored.
-
What is the expected behavior? I'd like to be able to access my base output (important to keep local context in foreach step chains). This could mean that the base_output should be injected in each item of the result array? Then how does this work if the result array is a list of scalars (ie, list of IDs) ?
-
Which version of uTask are you using? 1.1.0
-
Please tell us about your environment
-
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Hi, we inject the iterator object in the children metadata (see #414). This could be enough for you?
As we discussed, it could be a good idea to add the 'base_output' content to each item in a slice.