AppContextProviderLookup

com.github.rssh.appcontext.AppContextProviderLookup
See theAppContextProviderLookup companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Givens

Givens

given fromProviders[Xs <: NonEmptyTuple, X, N <: Int](using providers: AppContextProvidersSearch[Xs], idx: OfSubtype[Xs, X, N]): fromProviders[Xs, X, N]

High priority: lookup from AppContextProviders in scope. This given is in AppContextProviderLookup companion, so it's found before any AppContextProvider[X] in X's companion.

High priority: lookup from AppContextProviders in scope. This given is in AppContextProviderLookup companion, so it's found before any AppContextProvider[X] in X's companion.

Attributes

Inherited givens

given fromProvider[T](using provider: AppContextProvider[T]): fromProvider[T]

Low priority fallback: delegate to AppContextProvider[T]. Used when no AppContextProviders is in scope.

Low priority fallback: delegate to AppContextProvider[T]. Used when no AppContextProviders is in scope.

Attributes

Inherited from:
AppContextProviderLookupLowPriority