New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NestJS Error Debug Failure. False expression: Too many nodes written to output #564
Comments
I have the same problem with version 8.7.7 |
Same issue as well using NestJs 10.2.4 and Typescript 5.1.6, making the plugin not usable. I see that the last commit or any issues closed by maintainer was in March. PS: I see that NestJs 10 (that @accarvajal is using as well) is not listed. Update: I see that there's a PR pending (since June, does not solve this issue) adding Nest 10 support that hasn't been merged. In fact nothing has past March. |
I've fixed this in my fork https://github.com/ttshivers/mapper |
Is there an existing issue for this?
Describe the issue
I'm using package in NestJS v10 and I followed the documentation.
According samples, to avoid decorating classes with @AutoMap(), I can use a transformer plugin that enables automapper to run a before transformer looking for .entity.ts .model.ts, etc. files and add them to a list for mappings. So I configured nest-cli.json as shown below:
However when I run the app by using nest start, it throws the error:
Error Debug Failure. False expression: Too many nodes written to output.
In order to get the app working, I have to remove plugins entry leaving compilerOptions empty.
dependencies used:
Thanks for any help
Models/DTOs/VMs
No response
Mapping configuration
In AppModule:
in AutomapperConfigService:
Steps to reproduce
No response
Expected behavior
The error should not be thrown, the application should start running and allow me to run mapper without using the decorator @AutoMap().
Screenshots
Minimum reproduction code
No response
Package
@automapper/core
@automapper/classes
@automapper/nestjs
@automapper/pojos
@automapper/mikro
@automapper/sequelize
Other package and its version
No response
AutoMapper version
8.7.7
Additional context
Windows 11
The text was updated successfully, but these errors were encountered: