Skip to content

Commit

Permalink
Merge pull request #2983 from cibucristi/patch-10
Browse files Browse the repository at this point in the history
added info to see about ts s metadata reflect
  • Loading branch information
kamilmysliwiec authored Feb 27, 2024
2 parents 3998c09 + c954337 commit aa98a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/openapi/cli-plugin.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit aa98a05

Please sign in to comment.