# UseParamExpression Decorator operation input pipe
Module | import { UseParamExpression } from "@tsed/common" |
---|---|
Source | /packages/common/src/mvc/decorators/params/useParamExpression.ts |
# Overview
function UseParamExpression(expression: string): <T>(target: import("@tsed/core").Type<any>, propertyKey: string, index: number) => void;
# Description
Get data from a path inside the given object
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing