Page Contents

Home > @loopback/metadata > ParameterDecoratorFactory

ParameterDecoratorFactory class

Factory for parameter decorators

Signature:

export declare class ParameterDecoratorFactory<T> extends DecoratorFactory<T, MetadataMap<T[]>, ParameterDecorator> 

Methods

Method Modifiers Description
create()    
createDecorator(key, spec, options) static Create a parameter decorator function
mergeWithInherited(inheritedMetadata, target, methodName, parameterIndex)    
mergeWithOwn(ownMetadata, target, methodName, parameterIndex)