epics-containers / pvi

EPICS PV Interface described in YAML
https://epics-containers.github.io/pvi
Apache License 2.0
4 stars 3 forks source link

Improve validation of nested Groups #101

Open GDYendell opened 8 months ago

GDYendell commented 8 months ago

Currently there is an error at format time when Groups are nested incorrectly here.

It would be good to check this during validation and enable schema linting. It is probably not possible with the current structure, but if we add some concept of a top-level Group (which is allowed layout=Grid) and a nested Group (which is not). Then it could be checked by pydantic.