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

Revert "Hang when expanding circular $ref" #80

Merged
merged 1 commit into from
Jul 8, 2018

Conversation

casualjim
Copy link
Member

Reverts #79

@@ -235,23 +224,19 @@ func init() {
func defaultSchemaLoader(
root interface{},
expandOptions *ExpandOptions,
cache ResolutionCache,
context *resolverContext) (*schemaLoader, error) {
cache ResolutionCache) (*schemaLoader, error) {
Copy link

Choose a reason for hiding this comment

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

defaultSchemaLoader - result 1 (error) is always nil

@codecov
Copy link

codecov bot commented Jul 8, 2018

Codecov Report

Merging #80 into master will decrease coverage by 0.68%.
The diff coverage is 58.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
- Coverage   41.16%   40.47%   -0.69%     
==========================================
  Files          19       18       -1     
  Lines        1992     1969      -23     
==========================================
- Hits          820      797      -23     
  Misses        996      996              
  Partials      176      176
Impacted Files Coverage Δ
expander.go 54.54% <58.33%> (-1.12%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b79fccf...4d01a2d. Read the comment docs.

@casualjim casualjim merged commit ac0b6b8 into master Jul 8, 2018
@fredbi fredbi deleted the revert-79-fix-circular branch November 25, 2020 21:42
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