mirror of
https://github.com/IBM/fp-go.git
synced 2025-11-27 22:28:29 +02:00
fix: add multi provider
Signed-off-by: Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
@@ -28,6 +28,6 @@ import (
|
||||
func Resolve[T any](token InjectionToken[T]) RIOE.ReaderIOEither[DIE.InjectableFactory, error, T] {
|
||||
return F.Flow2(
|
||||
IG.Ap[DIE.InjectableFactory](DIE.AsDependency(token)),
|
||||
IOE.ChainEitherK(toType[T]()),
|
||||
IOE.ChainEitherK(token.Unerase),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user