Polishing contribution

See gh-36816
This commit is contained in:
rstoyanchev
2026-07-29 16:17:54 +03:00
parent 4bcae5305d
commit 67d54dccd2
2 changed files with 7 additions and 8 deletions
@@ -28,9 +28,9 @@ For example:
}
----
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.
NOTE: The `disallowedFields` property has been
https://github.com/spring-projects/spring-framework/issues/36802[deprecated in Spring Framework 7.1]
because it is fragile and easy to get out of sync with the actual properties over time.
By default, `DataBinder` applies both constructor and setter binding.
This is fine with immutable objects and dedicated objects, but for domain objects, you must