When determining which constraint validators to run as part of a schema integrity check (see get_constraints_per_model), we can be smarter about which constraints need to be run based on the content of the DiffSummary.
For example, we don't need to run attribute or relationship constraint validators if there is no change to that attribute or relationship in the diff. That's the easiest and biggest improvement, but we can do more if we want
Component
API Server / GraphQL
Task Description
When determining which constraint validators to run as part of a schema integrity check (see
get_constraints_per_model
), we can be smarter about which constraints need to be run based on the content of the DiffSummary.For example, we don't need to run attribute or relationship constraint validators if there is no change to that attribute or relationship in the diff. That's the easiest and biggest improvement, but we can do more if we want