-
Notifications
You must be signed in to change notification settings - Fork 44
Rewrite multibinder to enable it to behave more like Guice's implementation. #30
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
Conversation
I'll take a look at this when I can. I want to check the java compatibility, not sure how important that is. I'm currently moving this weekend but should be able to get to it by Wednesday. Kick me if I don't. |
a954561
to
53d8847
Compare
53d8847
to
452f515
Compare
Hey Thomas, I ended up refactoring and more carefully rewriting portions of these two initial pull requests. You'll probably want to look at #32 first since it is the code this is common in the other three pull requests (this one #30, #31, and #33). If I could get some feedback on what you'd like to see changed that'd be great =). Thanks, |
Will do. I started looking through the changes on Friday but got busy again
|
I am making my way through the commits. So far, so good. Though I have noticed some of the commit messages don't mention everything that changed. Such as sneaking a scala version upgrade in with updating Guice. I'll let it slide this time. ;) |
Ahh, oops. I had originally had it broken down much more, but then I had refactored some things and the commits quickly became spaghetti like. Additionally github also doesn't handle commits in out-of-date order very well. It orders them by date instead of tree order (which can be very confusing). |
452f515
to
b3a38c0
Compare
I honestly didn't really look at them on github. I have a fetch rule that
|
As noted in this stackoverflow question, the code in this pull request worked when I experienced issue #29. Thanks! |
This fixes #29.
I rewrote the
ScalaMultibinder
to work much more like Guice'sMultibinder
.You may want to pull down this code and look at it in your favorite editor. I put Scala's specific methods at the top of ScalaMultibinder so that people may find the most useful things at the top of the file; however now the pull-request patch is slightly difficult to follow.