-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(resolve-map): add cycle detection, fix edge cases
- add `resolve()` as main user function - make `resolveMap()` private - update _resolve() to keep track of active lookups - implement cycle detection - add markResolved() helper - update resolveFunction() to mark all of its nested values as resolved - refactor resolvePath() - update docs/readme - add/update tests BREAKING CHANGE: `resolveMap()` renamed to `resolve()`, update docs
- Loading branch information
1 parent
57f1ed5
commit e61c3b5
Showing
3 changed files
with
229 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.