@Provider class with a Symbol token and configurable scope for the DI container.
Usage
Options
Generated Code
--scope singleton generates ProviderScope.GLOBAL; --scope request and --scope context generate ProviderScope.CONTEXT.
The provider class is its own injection token: register the class and resolve it by the same class. There is no separate token constant to import.
Usage in Tools
providers: [DatabaseProvider] to the @App or @FrontMcp decorator so the container can build it.