Changes between Initial Version and Version 1 of Ticket #35575, comment 8


Ignore:
Timestamp:
Jul 4, 2024, 6:53:04 AM (3 months ago)
Author:
Mark Gensler

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35575, comment 8

    initial v1  
    88If 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`.
    99
     10*EDIT* Actually rather than preventing `GeneratedField`s from appearing in constraints, the system could call `checks.Warning()`.
     11
    1012Replying to [comment:6 Simon Charette]:
    1113
Back to Top