Skip to content

Using daggermock with Component.Factory #110

@mattinger

Description

@mattinger

Component.Factory is a much simpler way to create a component than the builder pattern. THere's a lot less boilerplate code, plus it mostly forces you into having no arg constructors for your modules, which is a good thing.

However, i'm not seeing a way to provide a way to call the factory class. In addition, our factories generally have a bindsInstance parameter. It would be nice to have a way to customize the entire component creation process, not just via the builder pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions