Skip to content

Boot-Validierung

Das Framework validiert beim Start die komplette Feature-Konfiguration. Wenn die App startet, ist alles validiert. Keine Runtime-Ueberraschungen.

Pruefungen

PruefungFehler-Beispiel
Alle requires aufgeloestFeature "invoicing" requires "orders" but it is not registered
Cross-Feature-Referenzen gueltigFeature "invoicing" references "orders.order.completed" but feature "orders" has no event "order.completed"
Keine zirkulaeren DependenciesCircular dependency: invoicing → orders → invoicing
Config-Keys die gelesen werden existierenFeature "invoicing" reads config "payments.gateway" but feature "payments" defines no such key
Keine NamenskollisionenEntity name "user" is used by both "adminUsers" and "hrModule"
encrypted + searchableField "smtpPass" cannot be both encrypted and searchable
encrypted + sortableField "smtpPass" cannot be both encrypted and sortable
ENCRYPTION_KEY nicht gesetztENCRYPTION_KEY environment variable is required (encrypted fields in use)
FILE_STORAGE_PROVIDER nicht gesetztFILE_STORAGE_PROVIDER not set (file fields in use)
Registrar-Erweiterung ohne requiresr.customFields() used but requires("customFields") missing
Registrar-Namenskollisionr.extendsRegistrar("foo") — "foo" already registered
extendSchema Spalten-KollisionextendSchema column "customFields" conflicts with existing column on entity "property"