@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
33 lines (22 loc) • 1.37 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.*`
<b>Signature:</b>
```typescript
export interface ConfigInjectionMetadata extends InjectionMetadata
```
<b>Extends:</b> [InjectionMetadata](./context.injectionmetadata.md)
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [fromBinding?](./context.configinjectionmetadata.frombinding.md) | [BindingAddress](./context.bindingaddress.md) | <i>(Optional)</i> 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 | <i>(Optional)</i> Property path to retrieve the configuration of the target binding, for example, <code>rest.host</code>. |