Skip to content

Investigate dagger-spi for inject validation and type resolving #26

@alex2069

Description

@alex2069

As of 2.15 Dagger includes an SPI allowing for graph introspection at compile time.

This could allow DevFun to know where/how to obtain instances, and as to whether a type can be provided at all (rather than at present; reflectively checking type information of fields/functions).

  • Known issue: The interface definitions changed at 2.15 > 2.16 and are not backwards compatible. Support would be for, at present, only Dagger 2.16.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions