Skip to content

Support setter/method injection in factory gen #905

Open
@ZacSweers

Description

Dagger's member injection also supports injecting via method calls, i.e.

@Inject
fun injectDep(value: String) {
  // No fields here, just functional injection
}

We currently get close with @set:Inject support on properties, and after #899 merges we'll have a nice structure to add this support to

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions