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?   BindingAddress (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?   string (Optional) Property path to retrieve the configuration of the target binding, for example, rest.host.