Changes between Initial Version and Version 1 of Ticket #35575, comment 8
- Timestamp:
- Jul 4, 2024, 6:53:04 AM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35575, comment 8
initial v1 8 8 If this isn't required, the only change necessary would be to prevent a `GeneratedField` appearing in the expression of any constraints. Otherwise a stale value would be returned for the `GeneratedField` attribute of an instance during `constraint.validate()`. This wouldn't be strictly backwards compatible, but users could re-write any existing constraints which use a `GeneratedField`. 9 9 10 *EDIT* Actually rather than preventing `GeneratedField`s from appearing in constraints, the system could call `checks.Warning()`. 11 10 12 Replying to [comment:6 Simon Charette]: 11 13