restlet-framework-java icon indicating copy to clipboard operation
restlet-framework-java copied to clipboard

Rename "guice" extension to "inject"

Open thboileau opened this issue 1 year ago • 2 comments

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

thboileau avatar Jan 21 '24 13:01 thboileau

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

kerbymart avatar Apr 16 '24 03:04 kerbymart

@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.

jlouvel avatar May 11 '24 18:05 jlouvel