discordx-ts / discordx

🤖 Create a discord bot with TypeScript and Decorators!
https://discordx.js.org
Apache License 2.0
588 stars 50 forks source link

fix(di): when no di method used, exception was thrown #943

Closed VictoriqueMoe closed 1 year ago

VictoriqueMoe commented 1 year ago

the change i made brang in the container that wasn't from a import type this caused issues with people using the Default DI method as tsyringe was trying to load and required reflect-metadata

this addresses this issue

VictoriqueMoe commented 1 year ago

the way we are running tests here is wrong. this is running the tests against the di module in NPM, NOT the changes i just made. you can ignore the test failure here