-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: look inside :ref when searching for default for :map child
When a default value gets produced up via the normal transformer pipeline, the -transform method of -ref-schema will delegate to the child schema. However, when we're building up the default values for a :map in add-defaults, we're not using the transformer pipeline, but calling get-default manually. Thus, we need to manually deref. fixes #1145
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 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
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