vovaspace / brandi

The dependency injection container powered by TypeScript.
https://brandi.js.org
ISC License
193 stars 12 forks source link

Improve error messages #37

Open yanisurbis opened 1 year ago

yanisurbis commented 1 year ago

Problem statement:

This PR attempts to fix this problem by introducing a function that helps to distinguish between classes and function so we avoid swallowing the error during a module initialization.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
brandi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2023 11:36am
acron0 commented 1 year ago

This suffers from https://github.com/vovaspace/brandi/issues/35, which is fixed in https://github.com/vovaspace/brandi/pull/38