Skip to content

Dependency Injection

Serinus handles the dependency injection using the Contexts and Modules. Every module has a context that contains all its own providers, the providers from the imported modules, the global providers and the parent context.

This means that if a provider is defined in the parent module, it will be available in its children modules. But if a provider is imported in a module, it will not be available in the parent module.

Built with 💙 and Dart 🎯 | One of the 🐤 of Serinus Nest