restlet / restlet-framework-java

The first REST API framework for Java
https://restlet.talend.com
646 stars 284 forks source link

Rename "guice" extension to "inject" #1406

Open thboileau opened 7 months ago

thboileau commented 7 months ago

cf this discussion: https://github.com/restlet/restlet-framework-java/discussions/1382

kerbymart commented 4 months ago

Hi @thboileau if the extension would be renamed to "inject" instead, does it mean the module should also support other DI?

e.g. https://github.com/restlet/restlet-framework-java/issues/1411

jlouvel commented 3 months ago

@kerbymart Based on our PoC for Dagger2, what would you like to see in a potential org.restlet.ext.inject extension? How could the code there be adapted to work equally well for Guice.

@Tembrel who had created the org.restlet.ext.guice extension initially is wondering if this deserves to stays an extension or if it shouldn't be a set of best practices. If that was the case, we could move the code to the official example and work on it from a documentation perspective.