File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ The major themes of this release include the following:
19191 . 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.
2323However, there are some changes in behavior and one breaking change.
2424
25251 . Internally, the conditions no longer hold value Suppliers, they now hold the values themselves. The SqlBuilder
8282import 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+
8590A breaking change is that Kotlin support for ` select ` and ` count ` statements has been refactored. This will not impact code
8691created by MyBatis generator. It will have an impact on Spring/Kotlin users as well as MyBatis users that coded joins or
8792other queries directly in Kotlin. The difference is that the ` from ` clause has been moved inside the lambda for select
You can’t perform that action at this time.
0 commit comments