Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Self-containing class: Maximum call stack size exceeded #19

Closed
Pikachews opened this issue Aug 13, 2017 · 3 comments
Closed

Self-containing class: Maximum call stack size exceeded #19

Pikachews opened this issue Aug 13, 2017 · 3 comments
Labels

Comments

@Pikachews
Copy link

If you have a class that contains itself, you get a maxed call stack error.
For example,

class Thing {
    @arrayProp({ items: Thing })
    other: Thing[];
}
@szokodiakos
Copy link
Owner

Hey! Thanks for the heads up, I haven't thought about this yet. I will add a bug label and will try to code the solution if I will have the time.

@ardyfeb
Copy link

ardyfeb commented May 10, 2019

same here

@hasezoey
Copy link
Contributor

@Ben305 this can be closed in favor of typegoose/typegoose#42

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants