Child components should be assigned from parents
afollestad opened this issue · 1 comments
afollestad commented
Instead of:
@Component
interface Parent
@Component(parent = Parent::class)
interface Child
It's more maintainable and searchable to have:
@Component(
children = [Child::class]
)
interface Parent
@Component
interface Child
acefalobi commented
Guy who sent you