Reflection in TypeScript
summary
Shows how to implement Role-Based Access Control (RBAC) in a NestJS app by using TypeScript reflection to pass types and classes from build time into runtime. Explains concrete reflection techniques in TypeScript and demonstrates how they simplify real-world implementations for frontend developers seeking practical, less-obvious tools.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:25Role and access problems
- 10:02Access control libraries
- 16:59Reflection in TypeScript
- 23:12Decorators theory
- 32:33Reflect-metadata
- 39:40Custom access control
- 52:15Reflection and decorators in practice
- 1:00:47Reflection examples
- 1:06:30Open source tips
- 1:12:14Q&A
related talks
41mArchitecture in Node.js using NestJS
28mBeyond TypeScript Metadata: Dependency Injection in Angular and Nest
01h 08mAmazing Backends for Angular Devs with NestJS
35mRethinking Enterprise Architectures with Node.js
23mDependency Injection in Nest and Angular: Intersection & Mismatch
22mProductivity Revolution: Angular Principles in Node
37mNestJS: Typing and Request Validation
05mTypeScript for Every Part of Your Stack
