You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm experiencing issues with inversify-express-utils library, when application is running with HMR enabled and you make changes to controllers the application crashes because of duplicate Reflect metadata.
Expected Behavior
When application is reloaded through HMR the constructor should remove previous Reflect metadata and add new one.
Current Behavior
Making change to controller with HMR enabled duplicates Reflect metadata and checks for unique controller fails.
Hey, I'm experiencing issues with inversify-express-utils library, when application is running with HMR enabled and you make changes to controllers the application crashes because of duplicate Reflect metadata.
Expected Behavior
When application is reloaded through HMR the constructor should remove previous Reflect metadata and add new one.
Current Behavior
Making change to controller with HMR enabled duplicates Reflect metadata and checks for unique controller fails.
Possible Solution
Add de-duplication logic in decorators.ts
Steps to Reproduce (for bugs)
The text was updated successfully, but these errors were encountered: