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

[Backport 1.16] fix: Detect duplicated context values in distinct values() + union() #918

Merged
merged 9 commits into from
Sep 3, 2024

Conversation

saig0
Copy link
Member

@saig0 saig0 commented Sep 3, 2024

Description

Backport of #908 for 1.16.

All changes are the same as in the original, except there is no function duplicate values() in version 1.16.

Related issues

closes #771
closes #772

(cherry picked from commit 5a592bc)
Add a test to verify that the function removes duplicated context values from a list.

(cherry picked from commit 9c3ed24)
Move the equals comparison in a separate class to be reusable.

(cherry picked from commit f5c5017)
(cherry picked from commit 88cf024)
(cherry picked from commit 9797b74)
Filter duplicate list entries by using the value comparator. The equals() for list and context values doesn't work properly because of the nested structure.

(cherry picked from commit 1e30164)
Add a test to verify that the function removes duplicated context values.

(cherry picked from commit 1ed648d)
Remove duplicated context entries from the concatenated list.

(cherry picked from commit fa45a3d)
(cherry picked from commit 4f78808)
@saig0 saig0 requested a review from nicpuppa September 3, 2024 12:27
@saig0 saig0 merged commit 03e6c9f into 1.16 Sep 3, 2024
3 checks passed
@saig0 saig0 deleted the 771-backport_1.16 branch September 3, 2024 13:02
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.

2 participants