-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:Improve Binder change detection (#19488)
Fixes #19260 * Introduced binder change detection for readBean case * Added equality predicate to Binding level and deprecated the old handleFieldValueChange method * Fixed unit test error * Added default implementation for the new withEqualityPredicate method * Added missing line from the deprecated method * Changes for review comments: - removed bindingInitialValuesMap from Binder, and kept the initial value in binding level instead - removed the default implementation for equalityPredicate and now this feature will only be active if an equalityPredicate is set * fixed format issues * Add global setting and default comparison * Add tests --------- Co-authored-by: Teppo Kurki <[email protected]> Co-authored-by: Mikhail Shabarov <[email protected]>
- Loading branch information
1 parent
a3d45c8
commit 7973103
Showing
2 changed files
with
235 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters