Skip to content

Conversation

@cool-mist
Copy link

Summary

Addresses #52, not being able to customize the injector with additional bindings that are necessary for guice to create the instances properly. Without this, we are relying on having concrete dependencies in constructors.

Changes

  1. Add a new interface IBootstrapModule to fetch the module with additional bindings.
  2. Property bootstrap.module.class to instantiate the implementation.
  3. If this property is absent, defaults to DefaultModule that adds no bindings.

@ashvina
Copy link
Contributor

ashvina commented Apr 8, 2020

Hi @cool-mist. Thanks for this contribution. I am reviewing the proposed changes. Will follow up soon.

@cool-mist
Copy link
Author

@ashvina did you get a chance to look at this ?

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.

2 participants