[Feature]: depinject should support default, overridable bindings #16727
Open
Description
opened on Jun 27, 2023
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()),
Metadata
Assignees
Type
Projects
Status
📋 Backlog
Activity