Deprecate setDisallowedFields in DataBinder

Closes gh-36816
Signed-off-by: Juhwan Lee <jhan0121@gmail.com>
This commit is contained in:
jhan0121
2026-07-29 16:17:09 +03:00
committed by rstoyanchev
parent 3f632382d6
commit 4bcae5305d
6 changed files with 29 additions and 3 deletions
@@ -28,8 +28,8 @@ For example:
}
----
NOTE: It is also possible to configure `disallowedFields`, but that's fragile, and
due to be https://github.com/spring-projects/spring-framework/issues/36802[deprecated] in Spring Framework 7.1.
NOTE: It is also possible to configure `disallowedFields`, but that's fragile and
https://github.com/spring-projects/spring-framework/issues/36802[deprecated as of Spring Framework 7.1].
It is easy to overlook fields or introduce additional fields over time that should also be excluded.
By default, `DataBinder` applies both constructor and setter binding.