NestJS TypeScript decorators کے ارد گرد بنایا گیا ہے — خصوصی @-سابقہ annotation جو کلاسز، methods، اور parameters کو metadata منسلک کرتے ہیں۔ NestJS یہ metadata (reflection کے ذریعے) پڑھتا ہے تاکہ routing، dependency injection، validation، اور بہت کچھ declaratively کو wire کرے۔ Decorators NestJS میں ہر جگہ ہیں۔
کلاس decorators — کلاس کا کردار متعین کریں
()
{}
()
{}
({ ... })
{}
