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

[RFE] Optionally allow requireBinding() to be mandatory #491

Open
gissuebot opened this issue Jul 7, 2014 · 0 comments
Open

[RFE] Optionally allow requireBinding() to be mandatory #491

gissuebot opened this issue Jul 7, 2014 · 0 comments
Labels

Comments

@gissuebot
Copy link

From mail4danny on June 10, 2010 05:25:57

(This is an RFE, but I only seem to be able to create defect reports)

It would be nice to force requireBinding() calls to be mandatory as a form of documentation.

For example, if a binding in module A depends upon a binding in module B, it would be nice to fail with an error if module A doesn't explicitly requireBinding() - even if the binding is present and injection would otherwise succeed.

This would force the use of requireBinding() which is very useful documentation.

Original issue: http://code.google.com/p/google-guice/issues/detail?id=491

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant