@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
33 lines (22 loc) • 1.38 kB
Markdown
lang: en
title: 'API docs: context.configinjectionmetadata'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/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.*`
**Signature:**
```typescript
export interface ConfigInjectionMetadata extends InjectionMetadata
```
**Extends:** [InjectionMetadata](./context.injectionmetadata.md)
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [fromBinding?](./context.configinjectionmetadata.frombinding.md) | | [BindingAddress](./context.bindingaddress.md) | _(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?](./context.configinjectionmetadata.propertypath.md) | | string | _(Optional)_ Property path to retrieve the configuration of the target binding, for example, <code>rest.host</code>. |