Open Nxtivision opened 2 years ago
Hi @Nxtivision, the first thing I'm curious about is whether it's necessary to use ts-mixer
's proxy settings in your case. I can't say for certain without doing a deep dive, but I'd guess Angular's dependency injection mechanisms could cause problems with those proxy settings.
Also before I can dive deeper I'll need a minimal reproducible example, preferably as a repository I can clone and recreate the error. There are too many unknowns with your example code (TypeScript/Angular/ts-mixer
versions, compilation settings, just to name a few) for me to reproduce or even know for sure whether ts-mixer
is the root of the problem.
Please note that I have limited time to support this library, so focused and complete examples are crucial for me to be able to troubleshoot. Thank you for understanding.
The library works well with the latest version of Angular (14) when you use default prototype strategy.
Hello,
Thank you for this nice library, it seems to be very interesting to use for our use cases.
However, I'm not able to use it properly in Angular. Here is an example :
The error thrown is:
Error: Cannot set new properties on Proxies created by ts-mixer
After some investigation, it seems there is a problem with the constructor:
Do you have any idea how I could use ts-mixer in Angular properly?
Thank you and have a nice day