I have some seed classes (all of them implement IDataSeedContributor),
There are dependencies between data, so I want to know if there is a way to control the order of the seed classes execution.
Or I have to merge them into one class and write seed code from top to bottom.
The order doesn't seem to make much sense.
Modules may need to seed some data, which should have nothing to do with the seed data of other modules.
You can call separate methods in your IDataSeedContributor to execute the seeds if you want to separate them.
This is what I do:
CategoryDataSeeder, ProductDataSeeder.
Inspiration from: