Skip to content

Reverts change towards immutability#5226

Closed
schauder wants to merge 2 commits into
mainfrom
issue/5214
Closed

Reverts change towards immutability#5226
schauder wants to merge 2 commits into
mainfrom
issue/5214

Conversation

@schauder

Copy link
Copy Markdown
Contributor

Criteria objects now properly mutate themselves as they used to.

Closes #5214

schauder added 2 commits July 21, 2026 10:38
Criteria objects now properly mutate themselves as they used to.

Closes #5214
@schauder schauder changed the title Reverted change towards immutability Reverts change towards immutability Jul 21, 2026
schauder added a commit that referenced this pull request Jul 22, 2026
Criteria objects now properly mutate themselves as they used to.

Note that this behavior might change in the future.
We consider it bad style to rely on it.

Closes #5214
Original pull request #5226
schauder added a commit that referenced this pull request Jul 22, 2026
Criteria objects now properly mutate themselves as they used to.

Note that this behavior might change in the future.
We consider it bad style to rely on it.

Closes #5214
Original pull request #5226
schauder added a commit that referenced this pull request Jul 22, 2026
Criteria objects now properly mutate themselves as they used to.

Note that this behavior might change in the future.
We consider it bad style to rely on it.

Closes #5214
Original pull request #5226
@schauder schauder self-assigned this Jul 22, 2026
@schauder schauder added this to the 5.0.7 (2025.1.7) milestone Jul 22, 2026
@schauder

Copy link
Copy Markdown
Contributor Author

This is merged.

@schauder schauder closed this Jul 22, 2026
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.

Possible regression in Criteria.and(String) behavior between Spring Data MongoDB 5.0.7 and 5.1.0

2 participants