-
-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Planned
0 / 20 of 2 issues completed
Copy link
Labels
commandsFor issues related to DSharpPlus.CommandsFor issues related to DSharpPlus.Commands
Milestone
Description
DSharpPlus.Commands supports constructing objects using the service provider created during startup, but it does not support constructing these objects in dependency injection. Instead, objects are constructed as if they were transient services, irrespective of their practical lifetime requirements; and they are not themselves accessible through dependency injection regardless of user requirements. This further drastically limits the extent of DI features we can use safely and correctly (see sub-issues for examples and details).
The extension should utilize available IoC abstractions such that:
- the extension itself injects all of its constituent parts
- all user-defined objects such as commands and checks are registered into and managed by the IoC container.
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
commandsFor issues related to DSharpPlus.CommandsFor issues related to DSharpPlus.Commands