DEV Community

Discussion on: Build a Tiny Dependency Injection Container in TypeScript

Collapse
 
maxrendel profile image
Viacheslav Kabanov

Hi Gabriel,
Really enjoyed your article — it's clear, pragmatic, and hits the nail on the head about decorator-heavy DI containers.
Just wanted to mention that the kind of clean, lightweight, decorator-free DI container you're describing already exists. I'm the author of InferDI — a zero-dependency, strongly-typed container that follows exactly this philosophy (no reflect-metadata, full compile-time safety, scopes, lazy injection, async teardown, etc.).
Would love to know your thoughts: github inferdi/inferdi
Great write-up!