Sitecore / Habitat

Sitecore Modular Architecture Example
Other
413 stars 397 forks source link

Move to explicit Sitecore DI registration class in all modules #399

Open nickwesselman opened 6 years ago

nickwesselman commented 6 years ago

Patch in a registration for each module instead of the attribute-based registration seen here: https://github.com/Sitecore/Habitat/blob/master/src/Feature/News/code/Repositories/NewsRepository.cs#L12

This should allow moving away from the DI abstraction in Foundation/DependencyInjection, possibly eliminating the module altogether.