-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topdown: Base document dereference with composite
Previously this would raise an error when attempting to build the storage path for some ref like `data.foo[["bar"]]`, but there isn't really any reason why it should halt evaluation. It should just be undefined. This changes to look for this type of ref _before_ handing it off to the store and will just return undefined now instead. Fixes: #1057 Signed-off-by: Patrick East <east.patrick@gmail.com>
- Loading branch information
1 parent
e5f7ef6
commit 9baaf47
Showing
3 changed files
with
82 additions
and
0 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
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