You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/10/02 18:44:02 UTC

(grails-core) 01/01: Merge pull request #16474 from matrei/fix/import-from-default-nullable

This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit fc2565c94824e73860277147863d3fbc82c3d1f5
Merge: 813221ea4c 3649ae06e1
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Fri Oct 2 14:43:55 2026 -0400

    Merge pull request #16474 from matrei/fix/import-from-default-nullable
    
    Apply the configured nullable default to properties copied with importFrom

 .../tests/ImportFromDefaultNullableSpec.groovy     | 87 +++++++++++++++++++++
 .../tests/ImportFromDefaultNullableSpec.groovy     | 87 +++++++++++++++++++++
 .../builder/ConstrainedPropertyBuilder.java        | 17 +++-
 .../eval/DefaultConstraintEvaluator.java           |  2 +-
 .../grails/gorm/validation/ImportFromSpec.groovy   | 91 ++++++++++++++++++++++
 .../eval/DefaultConstraintEvaluatorSpec.groovy     | 40 ++++++++++
 .../src/en/guide/upgrading/upgrading80x.adoc       |  3 +
 .../en/guide/validation/sharingConstraints.adoc    |  3 +
 grails-doc/src/en/ref/Constraints.adoc             |  3 +
 .../gorm/grails-app/domain/gorm/Customer.groovy    | 32 ++++++++
 .../groovy/gorm/ImportFromSpec.groovy              | 57 ++++++++++++++
 .../src/main/groovy/gorm/CustomerCommand.groovy    | 33 ++++++++
 12 files changed, 452 insertions(+), 3 deletions(-)