@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
60 lines (32 loc) • 1.11 kB
Markdown
---
lang: en
title: 'API docs: context.config'
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.config.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [config](./context.config.md)
## config namespace
**Signature:**
```typescript
export declare namespace config
```
## Functions
<table><thead><tr><th>
Function
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[getter(propertyPath, metadata)](./context.config.getter.md)
</td><td markdown="1">
`@inject.getter` decorator to inject a config getter function
</td></tr>
<tr><td markdown="1">
[view(propertyPath, metadata)](./context.config.view.md)
</td><td markdown="1">
`@inject.view` decorator to inject a config context view to allow dynamic changes in configuration
</td></tr>
</tbody></table>