Changes between Version 1 and Version 2 of Ticket #35575, comment 6


Ignore:
Timestamp:
Jul 3, 2024, 5:24:18 PM (5 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35575, comment 6

    v1 v2  
    2929The more we push to the database the less likely we are to run into race conditions and serde roudtrip issues.
    3030
    31 Note that **this isn't a problem only for UniqueConstraint** all `BaseConstraint` subclasses are affected.
     31Note that `ExclusionConstraint` is affected as well and that the logic added here will need to be made so constraints that include generated `fields` or have `expressions` with references to generated fields that themselves references `exclude` when provided will also need to skip `validate`. See the whole `flatten` logic for reference which that likely need to be updated to have `F("some_generated_field")` ''flattened'' in a way that returns all the fields referenced by it.
Back to Top