Skip to content

fix: support YAML custom tags#16

Merged
pacha merged 13 commits intomainfrom
dev
Jan 19, 2025
Merged

fix: support YAML custom tags#16
pacha merged 13 commits intomainfrom
dev

Conversation

@pacha
Copy link
Owner

@pacha pacha commented Jan 19, 2025

This PR provides support for custom tags (ie. foo: !example bar) in YAML:

# input
foo:
  bar: !one_tag
  - one
  - two
  baz: !other_tag
  - spam
  - eggs
  bat: !even_one_more_tag
  - this
  - that

# patch
foo:
  baz:
  - four
  - five
  bat: !new_tag
  - six
  - seven

# output
foo:
  bar: !one_tag
  - one
  - two
  baz:
  - four
  - five
  bat: !new_tag
  - six
  - seven

@pacha pacha merged commit 72b33f0 into main Jan 19, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

1 participant