@mikro-orm/coreInterfacesVersion: 6.6On this pageFactoryOptions Index PropertiesconvertCustomTypesinitializedmergenewEntitynormalizeAccessorsparentSchemaprocessOnCreateHooksEarlyrecomputeSnapshotrefreshschemaProperties optionalconvertCustomTypesconvertCustomTypes?: booleanoptionalinitializedinitialized?: booleanoptionalmergemerge?: booleanoptionalnewEntitynewEntity?: booleanoptionalnormalizeAccessorsnormalizeAccessors?: booleanoptionalparentSchemaparentSchema?: stringoptionalprocessOnCreateHooksEarlyprocessOnCreateHooksEarly?: booleanProperty onCreate hooks are normally executed during flush operation. With this option, they will be processed early inside em.create() method.optionalrecomputeSnapshotrecomputeSnapshot?: booleanoptionalrefreshrefresh?: booleanoptionalschemaschema?: string
Property
onCreatehooks are normally executed duringflushoperation. With this option, they will be processed early insideem.create()method.