What’s the goal of the ValidationModel.Optimized? I see it being passed around here and there, and it seems to disable certain validators such as DependencyValidatorsFactory
. But what’s the rationale behind it?
Some validations are expensive, e.g. everything that involves a call to the DB: Unique checks, assets and references. Therefore you can disable these checks for bulk updates. You also have not consider the insert order then when you insert self-referencing contents like menu items.