Skip to content

Conversation

jeffgbutler
Copy link
Member

The "filter" and "map" methods on conditions now explicitly specify whether they expect null values or not.

We now implement the "when present" conditions as specific classes so that they will function properly even if a "map" method results in a null. Previously it was possible to "sneak" a null value into a "when present" condition.

@jeffgbutler jeffgbutler merged commit 3b35f4c into mybatis:master Apr 7, 2025
7 checks passed
@jeffgbutler jeffgbutler deleted the properly-handle-nulls branch April 7, 2025 19:50
@coveralls
Copy link

Coverage Status

coverage: 100.0%. remained the same
when pulling b3b3b7d on jeffgbutler:properly-handle-nulls
into d8f3298 on mybatis:master.

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