afollestad/ulfberht

Child components should be assigned from parents

afollestad opened this issue · 1 comments

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

Guy who sent you