jamesfredley opened a new pull request, #15950: URL: https://github.com/apache/grails-core/pull/15950
## Summary Opt-in stale-data / omitted-field clearing for `bindData`. When `nullMissing: true` is set **and** an include allowlist is provided, allowlisted properties that are absent from the binding source are set to `null` instead of leaving the previous value. ### Example ```groovy bindData book, params, [include: ['title', 'description'], nullMissing: true] ``` ### Out of scope - Mass assignment hardening is #15947 (`@BindAllowed`, default deny) - Does **not** enable nullMissing by default ### Related - Split from #15808 direction (nullMissing carved out of mass-assignment work) Assisted-by: Sisyphus:xai/grok-4.5 [gpt-coding] -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
