inversify / InversifyJS

A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
http://inversify.io/
MIT License
11.02k stars 712 forks source link

Option `skipBaseClassChecks` has no effect when inheritance is being used #1558

Open lucianlature opened 5 months ago

lucianlature commented 5 months ago

Please check this stackblitz project to see the issue.

Basically, although skipBaseClassChecks is set to true, the checks are still being performed.

Any idea why this is happening?....Something wrong in my setup?

Expected Behavior

When skipBaseClassChecks is set to true, the container will disable all checking of base classes.

Current Behavior

Even if skipBaseClassChecks is set to true, the container will keep all checking of base classes,

Possible Solution

N/A

Steps to Reproduce (for bugs)

Check the link above for the stackblitz project that is showing the faulty behaviour.

Context

Your Environment

Stack trace