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

Performances problems fixes on big files with a lot of references on same big object #195

Merged
merged 2 commits into from
Dec 9, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
missing jsdoc
Co-authored-by: Jakub Rożek <[email protected]>
  • Loading branch information
paztis and P0lip authored Nov 3, 2020
commit 991e1a0cdb6be4117e41dea7d1b989a2c3143f93
1 change: 1 addition & 0 deletions lib/dereference.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ function crawl (obj, path, pathFromRoot, parents, processedObjects, dereferenced
* @param {string} pathFromRoot - The path of `$ref` from the schema root
* @param {object[]} parents - An array of the parent objects that have already been dereferenced
* @param {object[]} processedObjects - An array of all the objects that have already been dereferenced
paztis marked this conversation as resolved.
Show resolved Hide resolved
* @param {object} dereferencedCache - An map of all the dereferenced objects
* @param {$Refs} $refs
* @param {$RefParserOptions} options
* @returns {{value: object, circular: boolean}}
Expand Down