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

Deterministically Expansion #121

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

Conversation

magodo
Copy link
Contributor

@magodo magodo commented Aug 30, 2020

This is a partial revert of the #79, where it introduces the non-deterministic expansion.

The test case for issue 957 is disabled in this PR as it is quite slow, though it is slow, it will still end ultimately.

Fix #93

@fredbi
Copy link
Member

fredbi commented Aug 31, 2020

@magodo an interesting test to conduct (manually) is to run the full test suite of go swagger with this commit replacing the go-openapi/spec package in go.mod. This test suite contains a lot of real life specs with many different patterns for $ref's and circular $ref's. In addition, some of these specs are quite large: this will be a good yardstick to figure out if your performance trade-off is viable.

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.

Expander: non deterministic expansion on some circular ref patterns
2 participants