---
lang: en
title: 'API docs: context.injectionmetadata'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.injectionmetadata.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [InjectionMetadata](./context.injectionmetadata.md)

## InjectionMetadata interface

An object to provide metadata for `@inject`

<b>Signature:</b>

```typescript
export interface InjectionMetadata extends ResolutionOptions 
```
<b>Extends:</b> [ResolutionOptions](./context.resolutionoptions.md)

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [bindingComparator?](./context.injectionmetadata.bindingcomparator.md) | [BindingComparator](./context.bindingcomparator.md) | <i>(Optional)</i> Optional comparator for matched bindings |
|  [decorator?](./context.injectionmetadata.decorator.md) | string | <i>(Optional)</i> Name of the decorator function, such as <code>@inject</code> or <code>@inject.setter</code>. It's usually set by the decorator implementation. |


