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

Missing support for a Dagger2 extension #1411

Open
kerbymart opened this issue Apr 16, 2024 · 1 comment
Open

Missing support for a Dagger2 extension #1411

kerbymart opened this issue Apr 16, 2024 · 1 comment

Comments

@kerbymart
Copy link

kerbymart commented Apr 16, 2024

The framework includes an extension for Guice for dependency injection, however, it lacks an extension for Dagger2.

Reflection-based dependency injection (DI) can impede the creation of a high-performance, native-image packaged module, such as an embedded Restlet server compiled using GraalVM.

You can find a proof of concept (POC) for using Dagger2 with Restlet by following this link:
https://github.com/kerbymart/restlet-appstart/blob/909a5c5b8dd7ed8e3272e1ee2776beefab98f092/src/main/java/org/example/Main.java#L59

@thboileau
Copy link
Contributor

thanks a lot @kerbymart !!
we'll consider it for the incoming 2.5 version!

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

3 participants