Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

Transitive dependencies #5

Closed
gouline opened this issue Jun 27, 2017 · 1 comment
Closed

Transitive dependencies #5

gouline opened this issue Jun 27, 2017 · 1 comment
Assignees
Milestone

Comments

@gouline
Copy link
Owner

gouline commented Jun 27, 2017

With your solution, how would you manage the dependencies between modules?

For example, ModuleA exposes a retrofit (Retrofit.Builder().[…].build()) and ModuleB exposes the API by using this retrofit object (retrofit.create(MyApi::class.java)).

Should ModuleB implements Injects<ModuleA> or will you give someway ModuleA a reference to ModuleB?

I’ve checked the samples on GitHub but I can’t see the proper way to manage this.

Source: https://medium.com/@lcor1979/very-nice-solution-c4410253e712 (@lcor1979)

@gouline gouline self-assigned this Jun 27, 2017
@gouline gouline removed their assignment Jul 28, 2017
@gouline gouline added this to the v0.3 milestone Aug 10, 2017
@gouline gouline self-assigned this Aug 10, 2017
@gouline
Copy link
Owner Author

gouline commented Aug 10, 2017

Implemented in version 0.3.

@gouline gouline closed this as completed Aug 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant