July 5, 2023, 1:30 p.m. | Костя Третяк

DEV Community dev.to

Good application modularity is closely related to the injector tree hierarchy that Dependency Injection (DI) creates. DI injectors are sometimes referred to as DI containers, but since NestJS and Ditsmod have taken many concepts from Angular, this post will use the term "injectors" (since it does in Angular).



In this post, NestJS v10.0 and Ditsmod v2.38 are used for comparison. I am the author of Ditsmod.






Scopes in NestJS


In NestJS there are no explicitly defined levels of …

angular application concepts containers dependency di good hierarchy injection injector nestjs node taken

SOC 2 Manager, Audit and Certification

@ Deloitte | US and CA Multiple Locations

Threat Analysis Engineer

@ Gen | IND - Tamil Nadu, Chennai

Head of Security

@ Hippocratic AI | Palo Alto

IT Security Vulnerability Management Specialist (15.10)

@ OCT Consulting, LLC | Washington, District of Columbia, United States

Security Engineer - Netskope/Proofpoint

@ Sainsbury's | Coventry, West Midlands, United Kingdom

Journeyman Cybersecurity Analyst

@ ISYS Technologies | Kirtland AFB, NM, United States