Changes between Initial Version and Version 1 of Ticket #35234, comment 8
- Timestamp:
- Feb 23, 2024, 9:33:37 AM (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35234, comment 8
initial v1 3 3 1. Store the attribute in `CheckExpression.condition` and allow either `condition` or `check` to be passed to `__init__` 4 4 2. Raise a deprecation warning when `check` is provided. 5 3. Add a `@property` deprecation shim for `CheckExpression.check` that returns `self.condition`5 3. Add a `@property` shim for `CheckExpression.check` that returns `self.condition` and raise a deprecation warning 6 6 4. Merge this patch that has `Model._check_constraints` call `BaseConstraint._check` for the time being to perform system checks 7 5. When the deprecation period ends remove the shim and have the`_check_constraints` call into the newly instated `BaseConstraint.check` method and take the opportunity to document it.7 5. When the deprecation period ends remove the shim and have `_check_constraints` call into the newly instated `BaseConstraint.check` method and take the opportunity to document it.