Skip to content

Fix arrays vs enum merge#826

Merged
fbraure merged 1 commit into
mainfrom
fix_arrays_merge
Apr 22, 2026
Merged

Fix arrays vs enum merge#826
fbraure merged 1 commit into
mainfrom
fix_arrays_merge

Conversation

@fbraure
Copy link
Copy Markdown
Contributor

@fbraure fbraure commented Apr 20, 2026

Add an afterEach parameter to the mergician function to ensure:

  • Arrays are appended (not deduped)
  • Enums are deduped

Fixes #818 (arrays deduped) with an evolution of #791 (deduplicate enum)

@fbraure fbraure self-assigned this Apr 20, 2026
Comment thread src/core/overlay.ts
Comment thread src/core/overlay.ts Outdated
Comment thread src/core/overlay.ts Outdated
Comment thread src/core/overlay.ts Outdated
Add an `afterEach` parameter to the `mergician` function to ensure:
 - Arrays are appended (not deduped)
 - Enums are deduped

Fixes #818 (arrays deduped) with an evolution of #791 (deduplicate enum)
Copy link
Copy Markdown
Member

@paulRbr paulRbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the quick fix!

@fbraure fbraure merged commit b6737d6 into main Apr 22, 2026
9 checks passed
@fbraure fbraure deleted the fix_arrays_merge branch April 22, 2026 22:01
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.

YAML array truncation during overlay deep merge (v2.9.10–2.9.12)

2 participants