Dependency injection deno deploy
Does anyone know a Decency Injection library or container that works on deno deploy?
7 Replies
I'm sorry, but the documentation does not provide a clear answer to your question about a Dependency Injection library or container that works on Deno Deploy. It might be best to explore Deno's third-party module registry or ask in the Deno community for recommendations. š¦
what have you tried?
i like the inversify lib and have used it on some deno projects (not deno deploy) and it just works
It fails to deploy, using
tsyringe
Error
have you configured experimentalDecorators and emitDecoratorMetadata?
Yes, inside deno.json
It works locally
if it doesn't work locally in an older version of Deno (like 1.39), then the error in Deploy is probably because they haven't updated Deno to the latest version on Deploy yet. In that case you just have to wait
As far as I know is been working for a while locally, but not on deno deploy