Skip to content
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

Limit serialization depth to prevent issues with circular dependencies #195

Open
andreas-aeschlimann opened this issue Dec 23, 2022 · 0 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@andreas-aeschlimann
Copy link
Member

In some cases, you might have objects that rely on each other. The serialization process can cause issues and json2typescript might cause a page freeze due to infinite calculations.

We could prevent this by adding a setting or parameter for the max. depth of serialization.

@andreas-aeschlimann andreas-aeschlimann added the invalid This doesn't seem right label Dec 23, 2022
@andreas-aeschlimann andreas-aeschlimann self-assigned this Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant