LinuxDoku / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

MigrationLoader should depends on IEnumerable<Type> and not Assembly #168

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We develop a modular application and during initialization of modules want to 
run all migrations but even if we can get all migration types we must provide 
only one assembly to Migrator. Migrator uses MigrationLoader and 
MigrationLoader requires an assembly with migrations but in fact it needs only 
types of migrations and not an assembly. The constructors with assembly should 
be only helpers for situations when there is only one assembly with 
migrations...

Original issue reported on code.google.com by jeronimo...@gmail.com on 31 Jan 2011 at 8:00