export function TypedQuery(): ParameterDecorator;
export namespace TypedQuery {
export function Body(): ParameterDecorator;
export function Get(path?: string): MethodDecorator;
export function Post(path?: string): MethodDecorator;
export function Put(path?: string): MethodDecorator;
export function Patch(path?: string): MethodDecorator;
export function Delete(path?: string): MethodDecorator;
}
From now on, you can define type safe application/x-www-form-urlencoded
format body through new decorators of TypedQuery
.
What's Changed
- Add new parameter decorator
@TypedQuery.Body()
by @samchon in #644 - Route decorators of
TypedQuery
like@TypedQuery.Post()
by @samchon in #649 - Publish v2.2 with
@nestia/migrate
by @samchon in #650 - Documentations by @samchon in #651
Full Changelog: v2.1.8...v2.2.0