In order to validate a service name that has been specified as an integer we need to run that as a pre-process validation step *before* we pass the config to be validated against the schema. It is not possible to validate it *in* the schema, it causes a type error. Even though a number is a valid service name, it must be a cast as a string within the yaml to avoid type error. Taken this opportunity to move the code design in a direction towards: 1. pre-process 2. validate 3. construct Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| __init__.py | ||
| cli_test.py | ||
| config_test.py | ||
| container_test.py | ||
| interpolation_test.py | ||
| log_printer_test.py | ||
| multiplexer_test.py | ||
| progress_stream_test.py | ||
| project_test.py | ||
| service_test.py | ||
| sort_service_test.py | ||
| split_buffer_test.py | ||