Closed hannah-bulmer closed 4 years ago
I will need to update my PR with the dontSplitArray
option and tests as well
@dvd-z The idea is that the dontSplitArray
option is an option that is specific to this component (JSONata transform component) so it shouldn't exist in your library changes.
Once @dvd-z 's PR to move mapping logic to a library is published and merged (elasticio/component-commons-library#6), can you pull in and use that code in this component?
Yeaa will do!
Based on a previous discussion ofline, we will hold of merging this PR until we address the arrays & passthrough issue.
Closing this for now while it is still blocked
Solves issue https://github.com/elasticio/jsonata-transform-component/issues/12
Selecting the checkbox leaves array values as-is:
While deselecting it makes the array contents individual values: