Page Contents
Home > @loopback/context > ConfigInjectionMetadata
ConfigInjectionMetadata interface
Injection metadata for @config.*
Signature:
export interface ConfigInjectionMetadata extends InjectionMetadata
Extends: InjectionMetadata
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| [fromBinding?](/doc/en/lb4/apidocs.context.configinjectionmetadata.frombinding.html) | [BindingAddress](/doc/en/lb4/apidocs.context.bindingaddress.html) | _(Optional)_ Customize the target binding key from which the configuration is fetched. If not specified, the configuration of the current binding that contains the injection is used. | |
| [propertyPath?](/doc/en/lb4/apidocs.context.configinjectionmetadata.propertypath.html) | string | _(Optional)_ Property path to retrieve the configuration of the target binding, for example, `rest.host`. |