Skip to content

Function: ODataExclude()

ODataExclude(): PropertyDecorator

Defined in: packages/core/src/decorators/odata-exclude.decorator.ts:10

@ODataExclude() — marks a property to be excluded from the OData EDM. The property will not appear in $metadata and will be stripped from responses.

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

Returns

PropertyDecorator