
DI Benchmark: Vanilla, RegistryComposer, typed-inject, tsyringe, inversify, nest.js
Pure DI in TypeScript Node.js
Search for a command to run...

Pure DI in TypeScript Node.js
In the previous tutorial, I've implemented GraphQL Server using GraphQL Yoga. Today, I'm going to extend our service by using DataLoader. I will use the repo as starting point. DataLoader GraphQL gives us the ability to combine multiple queries int...
In the tutorial preceding this one, I demonstrated how to create a logging service with metadata. In this article, I will be implementing a new GraphQL endpoint for our application. I will use the repo as starting point. Data Store Before we start ...
In the previous tutorial, I've shown how to implement a RequestId feature using AsyncLocalStorage. Here, we will extend the functionality of our app by adding Logger with metadata. I will use the repo as starting point. Logger Why not use console.*...
In the previous article, I wrote about implementing Dependency Injection using the Registry approach. Today, I'm going to focus on the problem of how to deal with scoped-like dependencies within a static application state. The Problem Let's say we wa...
Introduction In this set of articles, I'm going to share my own experience with implementing and using Typesafe Dependency Injection with Registry in TypeScript Node.js backend applications. So, let's get started with it. P.S. you can read more abou...