Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Service Framework should support the Dependency Injection pattern of defining Interfaces as dependencies #64

Closed
SimonDarksideJ opened this issue Oct 25, 2022 · 2 comments
Labels
feature request New feature request

Comments

@SimonDarksideJ
Copy link
Contributor

Reality Collective - Reality Toolkit Feature Request

Is your feature request related to a problem? Please describe

The Dependency Injection Pattern defines a method where at design time, the developer can define the interfaces that a service needs in order to properly instantiate
https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection

This controls the order in which services instantiate and enable tighter "loosely coupled" integration between services and ensures a dependent service is available to wire up events when a service starts.

How would you classify your suggestion

  • Architecture / Services

Describe the solution you'd like

The ability to define service interface dependencies in the design of a service and have the service framework automatically recognise the dependency on startup.

Describe alternatives you've considered

Manual

@FejZa
Copy link
Contributor

FejZa commented Aug 26, 2023

This is definitely something we must look into.

@SimonDarksideJ
Copy link
Contributor Author

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Service Framework Roadmap Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
Status: Done
Development

No branches or pull requests

2 participants