Skip to content

Function: EdmType()

EdmType(options): PropertyDecorator

Defined in: packages/core/src/decorators/edm-type.decorator.ts:19

@EdmType() — override the EDM primitive type for a property. Use when the TypeScript type cannot be automatically mapped, or when precision/scale/maxLength constraints are needed (e.g., Edm.Decimal).

Zero imports from typeorm, @nestjs/common, or any ORM. Pure reflect-metadata.

Parameters

options

EdmTypeOptions

Returns

PropertyDecorator