Thanks for your support, Jesse. I guess I forgot the context of assisted inject being an extension.
As it is now, I guess the best workaround is to build assistedinject with the patch, and publish it to maven somewhere. It is a lot cleaner then working around it, even if subject to change. I hope I didn't distract you guys too much from new development. The new constructor injection of 2.1 is awesome! Cheers, -Adrian On Sat, Jun 27, 2009 at 9:14 AM, [email protected] <[email protected]>wrote: > > On Jun 26, 12:33 am, Adrian Cole <[email protected]> wrote: > > I understand a patch is written, but not scheduled for any release. > This > > implies that this will haunt us for some time. Unless this can make > guice > > 2.1, I'd really like a second (third, ...) opinion on how to work around > > this. I'm looking for a way to achieve multi-type assisted inject in > some > > way that doesn't involve copy/pasting boilerplates or needing to compile > our > > own vesion of guice. > > Both Assisted Inject and Servlet 2 started out as external extensions. > They're bundled with the Guice download, but that's just for developer > convenience. Most extensions are a few hundred lines of code, self > contained, and depend on public APIs only. > > So if an extension doesn't do what you'd like, please roll your own! > In my project I have a half-dozen or so additional extensions to make > wiring stuff easier. One huge value of using Java for configuration is > that this type of stuff is pretty easy. > > Back to the topic at hand, I agree that we should improve Assisted > Inject. If there's additional issues that you'd like to see addressed, > please vote for them by starring them in the issue tracker. > > Cheers, > Jesse > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
