From c95433712d21cbc49add1ce2df636fb9285323c6 Mon Sep 17 00:00:00 2001 From: Christian C <81857739+cibucristi@users.noreply.github.com> Date: Sat, 24 Feb 2024 20:37:28 +0200 Subject: [PATCH] added info to see about ts s metadata reflect --- content/openapi/cli-plugin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/openapi/cli-plugin.md b/content/openapi/cli-plugin.md index 3fd15e6554..6fa57379ec 100644 --- a/content/openapi/cli-plugin.md +++ b/content/openapi/cli-plugin.md @@ -1,6 +1,6 @@ ### CLI Plugin -TypeScript's metadata reflection system has several limitations which make it impossible to, for instance, determine what properties a class consists of or recognize whether a given property is optional or required. However, some of these constraints can be addressed at compilation time. Nest provides a plugin that enhances the TypeScript compilation process to reduce the amount of boilerplate code required. +[TypeScript](https://www.typescriptlang.org/docs/handbook/decorators.html)'s metadata reflection system has several limitations which make it impossible to, for instance, determine what properties a class consists of or recognize whether a given property is optional or required. However, some of these constraints can be addressed at compilation time. Nest provides a plugin that enhances the TypeScript compilation process to reduce the amount of boilerplate code required. > info **Hint** This plugin is **opt-in**. If you prefer, you can declare all decorators manually, or only specific decorators where you need them.