Closed rido-min closed 3 years ago
This is an issue caused by one of the additional validations introduced with --strict
. It is the @context
check validation, which in current state assumes a value type of string but in the input model its an array.
I suspect its not an issue in prod since --strict
is not being used yet. I have validated that in my fork here. Rather than remediate the context validation, I think we should consider just dropping that validation altogether and let context correctness be handled by the parser.
Agree with letting the parser handle the context validation.
This issue is to ensure we allow inline extends
https://github.com/iotmodels/iot-plugandplay-models-test/pull/11/checks?check_run_id=1267022517#step:6:33
Validating this model https://github.com/iotmodels/iot-plugandplay-models-test/blob/rido/central/dtmi/com/example/base-1.json#L14
I got this exception.