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

Fix Collection and Single should not mutate the provided data #90

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

djhi
Copy link
Contributor

@djhi djhi commented Jan 10, 2025

Problem

Collection and Single mutate the originally provided data. This is an issue especially in tests.

Solution

Always clone the provided data

@djhi djhi added the RFR Ready For Review label Jan 10, 2025
@fzaninotto fzaninotto merged commit 0dcffec into master Jan 10, 2025
5 checks passed
@fzaninotto fzaninotto deleted the fix-initial-data-mutation branch January 10, 2025 15:23
@fzaninotto fzaninotto added this to the 4.1.1 milestone Jan 10, 2025
@djhi djhi modified the milestones: 4.1.1, 4.1.2 Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants