-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve how 'subtype_query' is defined
Brings the config structure in line with all of the other config values, but this necessitates a more complicated usage of `resolve_config_value`. Hopefully the added comments are instructive to people in the future! This also greatly improves the error handling if we forget to add the appropriate subtype to the config, or leave out 'subtype_query' altogether. Inspired by <#104 (comment)> and <#146 (comment)>
- Loading branch information
1 parent
77796cc
commit 7205647
Showing
3 changed files
with
20 additions
and
14 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