https://kotlinlang.org logo
#dagger
Title
# dagger
j

jw

10/06/2023, 11:07 AM
Dagger does three types of injection: constructor, field, and methods. Generally injecting a type you created is call members injection and covers field and method injection. When Dagger creates the type it does all three types. Constructor and members. So I would avoid classifying what happens as constructor vs. fields.
b

Brais Gabin

10/06/2023, 11:27 AM
I want the differentiation to name a rule that finds member injection functions that do nothing (a function with a type that doesn't have any member annotated with @Inject). Anyway, thanks for the answer!
4 Views