Page Contents
Home > @loopback/context > ConfigurationResolver
ConfigurationResolver interface
Resolver for configuration of bindings. It’s responsible for finding corresponding configuration for a given binding key.
By default, undefined
is expected if no configuration is provided. The behavior can be overridden by setting optional
to false
in resolution options.
Signature:
export interface ConfigurationResolver
Methods
Method | Description |
---|---|
getConfigAsValueOrPromise(key, propertyPath, resolutionOptions) | Resolve config for the binding key |