The GitHub Actions job "Coverage" on grails-core.git/nullable-by-default has 
failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
45ef5e247bc1ef3cba4f13e53d0c78ee7f912084 / Scott Murphy Heiberg 
<[email protected]>
Make properties nullable by default (Grails 8)

Flip GORM's default constraint from nullable:false (required) to nullable:true 
so an
unconstrained persistent property — and command-object field — is optional 
unless explicitly
constrained. This aligns Grails with the rest of the JVM persistence/validation 
ecosystem
(JPA/Hibernate, Spring Data JPA & MongoDB, Micronaut Data, Jakarta Bean 
Validation), all of which
treat an unconstrained property as nullable.

- DefaultConstraintEvaluator: domain-class default nullable -> true
- Validateable.defaultNullable(): command-object default -> true

Legacy required-by-default is restorable in one line:
  grails.gorm.default.constraints = { '*'(nullable: false) }   // domains
  static boolean defaultNullable() { false }                    // command 
objects

Report URL: https://github.com/apache/grails-core/actions/runs/27108805934

With regards,
GitHub Actions via GitBox

Reply via email to