Repository navigation
Replies: 3 comments 2 replies
|
I guess that's how Is there a way to achieve what I'm trying to do? |
|
This looks like a bug related to #1214 - looking into it |
|
Ok I can see what's happening here. a) not use b) use the 'with' operator to restrict both the LHS and RHS sides: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Not sure if this is a bug, or a misunderstanding on my part about how multiple inputs work. I distilled my problem into this minimal example:
You can see that for every additional input file that is given, this expression results in a duplicate array entry (multiplied). I would only expect one entry in the end, no matter how many files are input.
My original use case is to copy data from one YAML file and into another with a different structure. I thought it had to do with using references, but it really just seems like it just depends on the number of files specified as input.
In this case I'd just expect
a.b = [1].All reactions