Skip to content

insert_yaml functions overwrites other nodes. #12

@MisterGC

Description

@MisterGC

Currently the insert_yaml function variants replace all nodes on the same level - e.g. have a look at this yaml file:

_meta:
  schema_module: myschema.api
  schema_type: SomeTye

_f: insert_yaml
_a: 
  _file: someother.yaml

additionalNode:
  someValue: 5

When using zs-yaml my.yaml my.rendered.yaml I can see that the additionalNode is gone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions