Isqanderm / ioc

MIT License
1 stars 0 forks source link

Support `forRoot` module declaration #7

Closed Isqanderm closed 2 months ago

Isqanderm commented 2 months ago

Need to add support for declaring a global module using the static methods forRoot and forRootAsync. These are factory methods that allow for creating modules dynamically, synchronously, and asynchronously, respectively. Implement them similarly to forFeature and forFeatureAsync.