Page Contents

Home > @loopback/context > ConfigInjectionMetadata

ConfigInjectionMetadata interface

Injection metadata for @config.*

Signature:

export interface ConfigInjectionMetadata extends InjectionMetadata 

Properties

Property Type Description
fromBinding BindingAddress 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 Property path to retrieve the configuration of the target binding, for example, rest.host.