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

Add some missing checks for circular references #703

Merged
merged 2 commits into from
May 20, 2019
Merged

Conversation

tjanc
Copy link
Contributor

@tjanc tjanc commented May 20, 2019

TL;DR

More

Semantic analysis (drafter) was dependent on the parser (snowcrash) to short out circular dependencies of MSON types. If snowcrash failed to do so, we would fall into infinite loops resolving dependency paths in our type registry. That has been prevented.

@tjanc tjanc changed the title Add some missing tests for circular references Add some missing checks for circular references May 20, 2019
@kylef kylef merged commit a6e5ee2 into master May 20, 2019
@kylef kylef deleted the tjanc/fix-702 branch May 20, 2019 19:04
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.

Drafter hangs on short document
2 participants