implicit final class DIPlanAssertionSyntax extends AnyVal
- Alphabetic
- By Inheritance
- DIPlanAssertionSyntax
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def allImports: Iterable[ImportDependency]
Get all imports (unresolved dependencies).
Get all imports (unresolved dependencies).
Note, presence of imports does not *always* mean that a plan is invalid, imports may be fulfilled by a parent
Locator
, by BootstrapContext, or they may be materialized by a custom izumi.distage.model.provisioning.strategies.ImportStrategy- See also
distage.Injector#assert for a check you can use in tests
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def incompatibleEffectType[F[_]](implicit arg0: TagK[F]): Option[NEList[MonadicOp]]
Check for any
make[_].fromEffect
ormake[_].fromResource
bindings that are incompatible with the passedF
.Check for any
make[_].fromEffect
ormake[_].fromResource
bindings that are incompatible with the passedF
.An effect is compatible if it's a subtype of
F
or is a type equivalent to izumi.fundamentals.platform.functional.Identity (e.g.cats.Id
)- F
effect type to check against
- returns
a non-empty list of operations incompatible with
F
if present
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any
- def unresolvedImports(ignoredImports: (DIKey) => Boolean = Set.empty): Option[NEList[ImportDependency]]
Check for any unresolved dependencies.
Check for any unresolved dependencies.
If this returns
None
then the wiring is generally correct, modulo runtime exceptions in user code, andInjector.produce
should succeed.However, presence of imports does not *always* mean that a plan is invalid, imports may be fulfilled by a parent
Locator
, by BootstrapContext, or they may be materialized by a custom izumi.distage.model.provisioning.strategies.ImportStrategy- returns
a non-empty list of unresolved imports if present
- See also
distage.Injector#assert for a check you can use in tests