Hi, I know that there are some solutions out there to deal with IoC containers in TypeScript, like Inversify, but so far, and after many days exploring the Internet looking for a "nice" solution, I didn't find anything alike to what I just came up with... So there's a chance that this is really a novelty when it comes to TS patterns :) , who knows.
I believe this can be very valuable, mostly when the TypeScript community has been asking for features such as the nameof operator ( #43325, #40846, etc. ) precisely because of this use case.
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
ƛ💉 Pure functional dependency injection for TypeScript
I've toyed with a similar pattern, albeit a purely functional one https://github.com/tom-sherman/diddly
TypeScript decorators (part 2): class decorators (including Dependency Injection example)
2 projects | dev.to | 24 Jan 2021
serverless typescript and IOC/DI question
1 project | reddit.com/r/typescript | 22 Jun 2022
What do you need to understand about IOC containers like InversifyJS?
1 project | reddit.com/r/node | 15 May 2022
Ways of using InversifyJS on a React application?
1 project | reddit.com/r/reactjs | 13 May 2022
Dependency inversion principle in Typescript