Page Contents

Home > @loopback/metadata > PropertyDecoratorFactory

PropertyDecoratorFactory class

Factory for property decorators

Signature:

export declare class PropertyDecoratorFactory<T> extends DecoratorFactory<T, MetadataMap<T>, PropertyDecorator> 

Extends: DecoratorFactory<T, MetadataMap<T>, PropertyDecorator>

Methods

Method Modifiers Description
create()    
createDecorator(key, spec, options) static Create a property decorator function
mergeWithInherited(inheritedMetadata, target, propertyName, descriptorOrIndex) protected  
mergeWithOwn(ownMetadata, target, propertyName, descriptorOrParameterIndex) protected