I'm writing the factory for the entity with relations and find that useSeederFactory(Entity).make() returns Promise. It makes the FactoryCallback become the async function while It requires a normal function.
I think make() shouldn't return the Promise.
Did I miss something?
I'm writing the factory for the entity with relations and find that
useSeederFactory(Entity).make()
returns Promise. It makes the FactoryCallback become the async function while It requires a normal function. I thinkmake()
shouldn't return the Promise. Did I miss something?