Skip to content

Dependency injection hooks #642

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

Closed
wants to merge 1 commit into from

Conversation

patriot1burke
Copy link

@patriot1burke patriot1burke commented Sep 8, 2022

Allow a FunctionWorkerMiddleware to override target function instance so that middleware can provide a hook for dependency injection framework integrations like Spring and Quarkus and CDI.

@patriot1burke
Copy link
Author

@kaibocai FYI, this is what I'm thinking for dependency injection hooks.

@kaibocai
Copy link
Member

kaibocai commented Sep 8, 2022

@patriot1burke , I draft a example to utilize the middleware support based on your example patriot1burke/quarkus#133,

We will provide all necessary APIs for implement quarkus middleware.

@patriot1burke
Copy link
Author

Very cool. I have a more complete Quarkus Azure extension that I'll add to Quarkus repo when the hooks are available. If you want to see it I'll put it up somewhere....

@kaibocai
Copy link
Member

kaibocai commented Sep 8, 2022

Yes that will be great as it will help us as function team to learn more about quarkus. Please link us to that whenever it's ready. Appreciate it!

@kaibocai
Copy link
Member

Hi @patriot1burke , the PR #667 is merged. Please feel free to run tests on your side.

Thank you for your patience and help!

@kaibocai kaibocai closed this Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants