-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: IndexConfig should not allow broken config
BREAKING CHANGE: some indexing configurations will no longer be accepted
- Loading branch information
1 parent
6a9ed46
commit ee7c379
Showing
4 changed files
with
32 additions
and
24 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
17 changes: 0 additions & 17 deletions
17
packages/helix-shared-config/test/specs/queryconfigs/broken.json
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
packages/helix-shared-config/test/specs/queryconfigs/duplicate.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: 1 | ||
|
||
indices: | ||
blog-posts: | ||
properties: | ||
author: | ||
select: main > div:nth-of-type(3) > p:nth-of-type(1) | ||
value: | | ||
${match('by (.*)')} | ||
author: | ||
select: other | ||
value: ${match('by (.*)')} |