Class ModelDataImpactValidator

java.lang.Object
io.jmix.dynmodelai.validation.impl.ModelDataImpactValidator

@Component("dmagent_DataImpactChecker") public class ModelDataImpactValidator extends Object
Checks how the drafted changes collide with data that already exists in the running application.

The one case migration planning does not cover: a required attribute on an entity whose existing rows have no value for it, either because the attribute is new or because a published optional attribute becomes required. The requirement is metadata-only — no database NOT NULL is created and existing rows are not pre-checked — so every such record fails validation the next time a user tries to save it.