Skip to content
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

Add docs for upgrading from dropwizard-guice #47

Merged
merged 6 commits into from
Aug 16, 2019
Merged

Conversation

mgreene
Copy link
Contributor

@mgreene mgreene commented Nov 23, 2018

Thought this would be useful since I've run into both of these issues.

README.md Outdated
[Reasoning and potential workarounds here](https://github.com/HubSpot/dropwizard-guicier/issues/41). The workarounds are however, not recommended.

### Explicit Bindings Required
All objects that you wish to inject must be explicitly bound. Just-in-time bindings are not supported by default. This is the case despite you enabling explicit binding in your own module.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the case despite you enabling explicit binding in your own module.

Not sure I follow, can you clarify this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The behavior that I saw was because the GuiceEnforcer is enabled by default, I didn't have to enable explicit bindings in my own project.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see, did you mean: "This is the case despite you not enabling explicit binding in your own module."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup! Sorry, I'll fix that. Wrote these docs in a hurry.

@jhaber jhaber merged commit a01905c into HubSpot:master Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants