23andMe / Yamale

A schema and validator for YAML.
MIT License
666 stars 88 forks source link

Regarding validation of properties dependent on another property #218

Open hsachan22 opened 1 year ago

hsachan22 commented 1 year ago

I want to validate value of a property based on the value of another property's value. Is it possible to do with yamale?

mildebrandt commented 1 year ago

That's not something Yamale can do. See https://github.com/23andMe/Yamale/issues/154 for a small discussion on the matter.

abourree commented 1 year ago

Hi,

In past, I'd suggest : include schema if a reference is valid #79

Arnaud

Le mar. 21 mars 2023, 23:46, Chris Mildebrandt @.***> a écrit :

That's not something Yamale can do. See #154 https://github.com/23andMe/Yamale/issues/154 for a small discussion on the matter.

— Reply to this email directly, view it on GitHub https://github.com/23andMe/Yamale/issues/218#issuecomment-1478693458, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC46L4IEW23JSYRVETK2ZDW5IVURANCNFSM6AAAAAAWCCGOLE . You are receiving this because you are subscribed to this thread.Message ID: @.***>