---
lang: en
title: 'API docs: context.injectionmetadata'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
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 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [bindingComparator](./context.injectionmetadata.bindingcomparator.md) | <code>BindingComparator</code> | Optional comparator for matched bindings |
|  [decorator](./context.injectionmetadata.decorator.md) | <code>string</code> | Name of the decorator function, such as <code>@inject</code> or <code>@inject.setter</code>. It's usually set by the decorator implementation. |


