It would be helpful and practical to be able to use itemsToParse again inside each section of a multi-document YAML file
For example, something like the below.
resources:
- kind: file
selector:
query: "true"
files:
- path: "config/repos.yaml"
port:
itemsToParse: .file.content | if type== "object" then [.] else . end
entity:
itemsToParse: .item.repos
mappings:
identifier: .item.name
title: .item.name
blueprint: '"repository"'
properties:
url: .item.url
team: .item.team
Created by Isuri Ranawaka
·