Skip to content

refactor: factorize label deduplication logic - #1808

Merged
pierrecamilleri merged 5 commits into
mainfrom
refactor/deduplication
Aug 26, 2026
Merged

pierrecamilleri merged 5 commits into
mainfrom
refactor/deduplication

Conversation

@pierrecamilleri

@pierrecamilleri pierrecamilleri commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

This PR factorizes the deduplication logic (a similar logic was at three places, with one never used), and align the code between matching by position and by name inside the LabelMatcher class.

It introduces a minor breaking change by removing the method Schema.deduplicate_fields, which is undocumented, untested, and was never used inside the codebase.

@pierrecamilleri
pierrecamilleri merged commit 8cb26a1 into main Aug 26, 2026
15 of 20 checks passed
@pierrecamilleri
pierrecamilleri deleted the refactor/deduplication branch August 26, 2026 19:49
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