Page Contents
Home > @loopback/context > DefaultConfigurationResolver > getConfigAsValueOrPromise
DefaultConfigurationResolver.getConfigAsValueOrPromise() method
Signature:
getConfigAsValueOrPromise<ConfigValueType>(key: BindingAddress<unknown>, propertyPath?: string, resolutionOptions?: ResolutionOptions): ValueOrPromise<ConfigValueType | undefined>;
Parameters
| Parameter | Type | Description |
|---|---|---|
|
key |
BindingAddress<unknown> | |
|
propertyPath |
string |
(Optional) |
|
resolutionOptions |
(Optional) |
Returns:
ValueOrPromise<ConfigValueType | undefined>