Page Contents

Home > @loopback/context > ConfigInjectionMetadata > fromBinding

ConfigInjectionMetadata.fromBinding property

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.

Signature:

fromBinding?: BindingAddress;