~/talk

Dependency Injection in Nest and Angular: Intersection & Mismatch

Talkat ngAtlanta 2019 · on Friday, 2019-01-11· [angular, nodejs, typescript]

Claim that Nest and Angular share an API but implement DI differently and prove it with concrete artifacts: the TypeScript emitted design:paramtypes metadata and the reflect-metadata polyfill, Angular’s extra compiler step and NG factory output, and Nest’s module-level injectors with explicit exports. Shows limitations with interfaces, generics and circular deps and the usual fixes like forwardRef or AST tooling. Notes a surprising 300% GitHub star growth and previews Nest adding request/transient scope provider lifetimes.

AI-written summary · about

  1. 0:00Introduction to NestJS
  2. 2:12The concept of DI
  3. 3:29How DI works in runtime
  4. 6:54DI in Angular vs NestJS
  5. 8:26Challenges with DI
  6. 12:06Injector trees and isolation
  7. 16:40Future developments
  8. 20:34Closing discussion
~/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.