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

DI in GetSuggestions #2036

Open
mariopasquali opened this issue Jan 26, 2023 · 0 comments
Open

DI in GetSuggestions #2036

mariopasquali opened this issue Jan 26, 2023 · 0 comments

Comments

@mariopasquali
Copy link

I am using DI with the hosting package. I would like to use a service in GetSuggestions, and after looking at this at all angles I could think of, I can't figure out a way to make this work. Would someone have a hint of how this could be achieved?

The use case for having access to the host / services in GetSuggestions is for example to offer suggestions based on the configuration, or on dynamically registered services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants