In a config modifier schema, use merge to avoid overwriting all of the properties of an output. This keyword combines all of the existing properties and then updates properties by overwriting the first if they have the same property name.
Exclusive keywords
This keyword executes at the following nesting level:
- omit
- constant
- references
- use
- get
- properties or if or concat or switch or pipe or merge
- default
- plugin
You could duplicate the Location resource's name to the description field.
Example: Merge input from initial payload
json
Example: Merge selector
json
Example: Config modifier with merge keyword
yaml
Example: Merge output
json
To achieve the same outcome with the use keyword and @parent variable, try this selector and config modifier instead:
Example: Alternative selector
json
Example: Alternative config modifier
yaml