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

Break circular dependencies #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

steve-gray
Copy link

Background:

  • During some development using Babel, ES6 and running tasks such as Gitbook - it became apparent that someone was loading modifications to object prototypes that would introduce properties on global prototypes that would cause circular dependencies.
  • Seemingly any time a circular object comes through the safeJson function, it breaks.

Confident this represents a least-harm way to get things sorted - Objects with this issue are not capable of going through TaffyDB at the moment, so this can't cause a change in behaviour unless someone is relying expressly on a node-crashing stack overflow issue.

Background:

- During some development using Babel, ES6 and running tasks such as Gitbook - it became apparent that someone was loading modifications to object prototypes that would introduce properties on global prototypes that would cause circular dependencies.
- Seemingly any time a circular object comes through the safeJson function, it breaks.

Confident this represents a least-harm way to get things sorted - Objects with this issue _are not_ capable of going through TaffyDB at the moment, so this can't cause a change in behaviour unless someone is relying expressly on a node-crashing stack overflow issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant