You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by "jamesfredley (via GitHub)" <gi...@apache.org> on 2026/10/08 22:19:33 UTC
[PR] Require Grails 8 fields that the GA runtime no longer implies [grails-static-website]
jamesfredley opened a new pull request, #561:
URL: https://github.com/apache/grails-static-website/pull/561
## Summary
Follow-up to the Copilot review on #560. Grails 8 defaults `nullable` to true, so `blank`, `min`, and `inList` no longer reject a missing value.
- First-app `Make`, `Model`, and `Vehicle` required fields now declare `nullable: false`.
- Database-per-tenant `Manufacturer.name`, `Vehicle.model`, and `Vehicle.year` do the same.
- Fields-plugin `Book`, `ContactInfo`, and `Tag` required fields do the same.
- Transactional-events `AuditLog.orderId`, `customerId`, and `orderTotal` do the same.
- Optional `Author.contactInfo` still can be left blank: a blank nested child is dropped before validation, and the one-to-one widget does not HTML-require those inputs.
The matching companion samples are on `grails8`.
## Test plan
- [x] `BookSpec`, `AuthorSpec`, `AuditLogSpec`, and `VehicleControllerSpec` passed locally in the companion repos.
- [ ] `./gradlew renderGuide_grails-fields-custom-widgets-and-wrappers_8`
--
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: commits-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Require Grails 8 fields that the GA runtime no longer implies [grails-static-website]
Posted by "jamesfredley (via GitHub)" <gi...@apache.org>.
jamesfredley merged PR #561:
URL: https://github.com/apache/grails-static-website/pull/561
--
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: commits-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org