@loopback/docs
Version:
Documentation for LoopBack 4
32 lines (21 loc) • 1.23 kB
Markdown
lang: en
title: 'API docs: context.configinjectionmetadata'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.configinjectionmetadata.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [ConfigInjectionMetadata](./context.configinjectionmetadata.md)
## ConfigInjectionMetadata interface
Injection metadata for `@config.*`
<b>Signature:</b>
```typescript
export interface ConfigInjectionMetadata extends InjectionMetadata
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [fromBinding](./context.configinjectionmetadata.frombinding.md) | [BindingAddress](./context.bindingaddress.md) | 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](./context.configinjectionmetadata.propertypath.md) | string | Property path to retrieve the configuration of the target binding, for example, <code>rest.host</code>. |