-
Notifications
You must be signed in to change notification settings - Fork 95
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
Config #49
base: master
Are you sure you want to change the base?
Config #49
Conversation
Altered GuiceBundle to allow setting of ServletContextListeners
…ting injector annotation just to be make it clear it's primarly used for configuring based on setting annotations?
You should squash all of these commits into one. http://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git |
hi @oillio I think it may be possible in #46 to squash everything after bf01977 because all the commits are authored by you. having been a major culprit in making unnecessary commits, I've learned that after the commits are pushed, you can still squash by doing: |
Break out configuration code. Implement InjectedCommands. Added tests. Various bug fixes and refactorings.
Fair enough. Done. |
I haven't had a chance to trying this out yet, I'm wondering does |
Sure, the @config functionality could be implemented without double injection. I don't really want to take the time to implement @config in a different and inferior way, if double injection is going to be merged soon. |
Conflicts: .gitignore README.md pom.xml src/main/java/com/hubspot/dropwizard/guice/AutoConfig.java src/main/java/com/hubspot/dropwizard/guice/GuiceBundle.java src/test/java/com/hubspot/dropwizard/guice/AutoConfigTest.java src/test/java/com/hubspot/dropwizard/guice/GuiceBundleTest.java src/test/java/com/hubspot/dropwizard/guice/objects/ExplicitResource.java src/test/java/com/hubspot/dropwizard/guice/objects/InjectedTask.java
is there a reason why this don't get merged? |
Add bindings for each field in the configuration object(s).
See PR #46 for more discussion on this feature.