Skip to content

Avoid recursion on encoding circular pointers #7

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

Merged
merged 1 commit into from
Sep 22, 2015

Conversation

andrewimm
Copy link
Contributor

objects should only be encoded with flat pointers, not inflated objects. This adds a test that fails without this change.

}
});

var child = ParseObject.fromJSON({

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumes that single-object instance is true?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single-instance is on by default for all tests, unless explicitly disabled.

@hallucinogen hallucinogen assigned andrewimm and unassigned stanleyw Sep 22, 2015
andrewimm added a commit that referenced this pull request Sep 22, 2015
Avoid recursion on encoding circular pointers
@andrewimm andrewimm merged commit c3a2a73 into master Sep 22, 2015
@andrewimm andrewimm deleted the andrewi.object_recursion branch September 22, 2015 21:32
sadakchap pushed a commit to sadakchap/Parse-SDK-JS that referenced this pull request Oct 4, 2024
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.

5 participants