This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Settings: ignore keys in referenced schema #1608
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
it is possible to use both
"schema_template"
and"template"
as type in schemasadded ability to skip key item with entered path using key
"skip_paths"
in template item definitionpath can define only static hierarchy (it is not possible to skip item in list or modifiable dict)
"path/to/template/key"
- valid"path/to/list/item/0"
- invalidif one of keys is filled dynamically (with
template_data
) path must contain the formatting key"{key}/enabled"
- valid"replacement_key/enabled"
- invalidtemplate item can have curly brackets in label using double curly bracket
"{{root[work]}}"
all of this filtering happens on template dictionary level it would require changing how schemas are loaded for more advanced feature or behavior
closes #1600