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

Create a value promise right after seeing an anchor #598

Merged
merged 2 commits into from
Mar 23, 2021
Merged

Create a value promise right after seeing an anchor #598

merged 2 commits into from
Mar 23, 2021

Conversation

210342
Copy link
Contributor

@210342 210342 commented Mar 22, 2021

This PR is related to #597.

Creating a promise for an alias before deserialization allows the deserializer to handle cycles in object graph.

Currently, if there is a reference to an anchor of a node which is being deserialized, deserializer throws an exception AnchorNotFoundException.

@aaubry
Copy link
Owner

aaubry commented Mar 23, 2021

Looks good. Thanks!

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.

2 participants