There is a new initialization helper that gets called automatically when running the seeders via CLI. If you are building a programmatic seed script, you can call SeederSource.initialize() manually as well.
Also added some helpers for easily retrieving Repositories from inside Seeder and Factory classes.
Initial improvements for: https://github.com/conceptadev/typeorm-seeding/issues/5
There is a new initialization helper that gets called automatically when running the seeders via CLI. If you are building a programmatic seed script, you can call
SeederSource.initialize()
manually as well.Also added some helpers for easily retrieving Repositories from inside Seeder and Factory classes.