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:
19
19
1 . Remove deprecated code from prior releases.
20
20
21
21
### 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.
23
23
However, there are some changes in behavior and one breaking change.
24
24
25
25
1 . Internally, the conditions no longer hold value Suppliers, they now hold the values themselves. The SqlBuilder
82
82
import org.mybatis.dynamic.sql.util.kotlin.elements.isEqualTo
83
83
```
84
84
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
+
85
90
A breaking change is that Kotlin support for ` select ` and ` count ` statements has been refactored. This will not impact code
86
91
created by MyBatis generator. It will have an impact on Spring/Kotlin users as well as MyBatis users that coded joins or
87
92
other 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