~/talk

Demystifying Dependency Injection: Angular vs NestJS

Talkat NG-DE Conference 2019 · 2019-08-30..08-31· [angular, nodejs]
slides:none on file

Compares Angular and NestJS DI by showing how TypeScript emits design:paramtypes metadata and how reflect-metadata is used to read constructor types, demonstrates failure cases with interfaces and generics, and explains circular-dependency resolution via forwardRef. Reports NestJS GitHub growth ~300% in 2018, contrasts Angular’s compiler postprocessing and Ivy with Nest’s module-level injectors and explicit exports, and explains NestJS request-scoped providers and transient scope that create per-request or per-use instances rather than singletons.

AI-written summary · about

  1. 0:00Introduction
  2. 2:15Dependency injection basics
  3. 8:56TypeScript metadata reflection
  4. 11:28Interfaces and generics limits
  5. 15:35Circular dependencies
  6. 17:43Injector trees comparison
  7. 22:39Request-scoped providers in NestJS
  8. 26:28Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.