Function: ODataDelete()
ODataDelete(
entitySetName,options?):MethodDecorator
Defined in: packages/core/src/decorators/odata-delete.decorator.ts:21
Composite method decorator for OData DELETE endpoints.
Composes:
- Delete(path) — NestJS route decorator, defaults to ':key'
- HttpCode(204) — DELETE returns 204 No Content per D-04
- SetMetadata(ODATA_ROUTE_KEY, { entitySetName, operation: 'delete' })
- UseFilters(ODataExceptionFilter) — formats errors as OData v4 error bodies
Per D-04: DELETE returns 204 with no body. No ODataResponseInterceptor — no body. Zero TypeORM imports — per PKG-01 architecture constraint.
Parameters
entitySetName
string
options?
Returns
MethodDecorator