constructorParams?: (Owner extends EntityClass<P> ? keyof P : string)[]
Specify constructor parameters to be used in em.create or when forceConstructor is enabled. Those should be names of declared entity properties in the same order as your constructor uses them. The ORM tries to infer those automatically, use this option in case the inference fails.
Specify constructor parameters to be used in
em.createor whenforceConstructoris enabled. Those should be names of declared entity properties in the same order as your constructor uses them. The ORM tries to infer those automatically, use this option in case the inference fails.