Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

wash validate should ensure that every node in an entry's schema's been validated #728

Open
ekinanp opened this issue Feb 13, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ekinanp
Copy link
Contributor

ekinanp commented Feb 13, 2020

Given something like

bolt
└── [group]
    └── [target]
        └── fs

wash validate should ensure that at least one instance of bolt, group, target, and fs have been validated (but only if an entry's schema has been provided). The current code doesn't do that because it randomly selects the child it will recurse into. So, if it happens to select a group instance that has no children, then wash validate will fail to validate a target and fs instance.

@ekinanp ekinanp added the enhancement New feature or request label Feb 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant