Skip to content

[Feature]: depinject should support default, overridable bindings #16727

Open
@kocubinski

Description

Summary & Problem Definition

Given the solution at #16621, an parallel solution is for depinject to support default provider and supplier bindings which can be easily over ridden by the user. This avoids the additional layer of indirection (factory function) required in the current version of depinject.

Default bindings would also remove the need to carry the log supply everywhere in tests and app chains

			depinject.Supply(log.NewNopLogger()),

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions