Skip to content

Commit 3b3e832

Browse files
committed
Update CHANGELOG.md
1 parent 269b189 commit 3b3e832

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The major themes of this release include the following:
1919
1. Remove deprecated code from prior releases.
2020

2121
### Built-In Condition Refactoring
22-
All built-in conditions have been refactored. The changes should have no impact for the vast majority of users.
22+
All built-in conditions have been refactored. The changes should have little impact for the vast majority of users.
2323
However, there are some changes in behavior and one breaking change.
2424

2525
1. Internally, the conditions no longer hold value Suppliers, they now hold the values themselves. The SqlBuilder
@@ -82,6 +82,11 @@ to
8282
import org.mybatis.dynamic.sql.util.kotlin.elements.isEqualTo
8383
```
8484

85+
Several functions that accepted supplier arguments are not present in the Kotlin DSL. This is to avoid difficult
86+
and confusing method overload problems for methods that did not offer any real benefit. If you were using one of these
87+
methods in the Java DSL, then in the Kotlin DSL you will have to change the function argument from a supplier to the
88+
actual value itself.
89+
8590
A breaking change is that Kotlin support for `select` and `count` statements has been refactored. This will not impact code
8691
created by MyBatis generator. It will have an impact on Spring/Kotlin users as well as MyBatis users that coded joins or
8792
other queries directly in Kotlin. The difference is that the `from` clause has been moved inside the lambda for select

0 commit comments

Comments
 (0)