Skip to content

assignMetadata

reference
1 min readUpdated

Kind: Function

Source: packages/common/decorators/http/route-params.decorator.ts

Part of: Common

Signature

ts
function assignMetadata(args: TArgs, paramtype: TParamtype, index: number, data: ParamData, pipes: (Type<PipeTransform> | PipeTransform)[])

Parameters

NameType
argsTArgs
paramtypeTParamtype
indexnumber
dataParamData
pipes`(Type

Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (2)

  • createRpcParamDecoratorpackages/microservices/utils/param.utils.ts:8
  • createWsParamDecoratorpackages/websockets/utils/param.utils.ts:8

Was this page helpful?

Download as PDF
assignMetadata — NestJS head-to-head