CFood schema should be automatically extended with default_converters.yaml's content
Summary
Currently there is redundancy between the content of default_converters.yaml
and the large enum list at the beginning of cfood_schema.yml
. This enum list should be reduced to the minimum which does not overlap with the default converters, and the cfood validation code should extend that list on the fly by the converters.
Expected Behavior
No redundancy.
Actual Behavior
A lot, which leads to bugs
Steps to Reproduce the Problem
In 532bd4c4 in the dev
branch, YAMLFile
is in default_converters.yaml
, but not in the schema.
Specifications
- Version: Current dev (532bd4c4)
Possible fixes
Add to the list in _load_definition_from_yaml_dict(...)
, similar to Converters in the Converters
key of the cfood.