Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insert_yaml functions overwrites other nodes. #12

Open
MisterGC opened this issue Oct 25, 2024 · 0 comments
Open

insert_yaml functions overwrites other nodes. #12

MisterGC opened this issue Oct 25, 2024 · 0 comments

Comments

@MisterGC
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant