Page Contents

Home > @loopback/context > InjectionMetadata

InjectionMetadata interface

An object to provide metadata for @inject

Signature:

export interface InjectionMetadata extends Omit<ResolutionOptions, 'session'> 

Extends: Omit<ResolutionOptions, ‘session’>

Properties

Property Type Description
bindingComparator? BindingComparator (Optional) Optional comparator for matched bindings
decorator? string (Optional) Name of the decorator function, such as @inject or @inject.setter. It’s usually set by the decorator implementation.