typegoose: RangeError: Maximum call stack size exceeded - .find({}) function - find all
I’m new to using your package and think it’s fantastic and makes my life a lot easier so thank you firstly.
I am currently stuck on an issue I can’t seem to work around, I put data into a database absolutely fine but when i try to retrieve it, even with it being small amounts it returns RangeError: Maximum call stack size exceeded
. I am trying to use the .find({})
function on my model and it weirdly returns to the variable locally as a correct object but when the function itself tries to return it, it splays out that message on four different models I have. These are triple nested objects, I have attached a few of these objects. If anyone can work it out, I would be grateful. I have uploaded my three DTO files that link to one another. If anyone would like anymore information, please ask. Thanks.
Archive.zip
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 37 (18 by maintainers)
btw the npm package changed to
@typegoose/typegoose
and version 6.0.0 releasedand version 6.0.0 fixed many things, please look at the changelog for more infomation
main things that could affect this here: