I’m afraid this is not possible to validate tuples at the schema level, we’d need to improve dry-logic for that, am I right @solnic ?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
There might be something wrong with schema | 0 | 444 | October 15, 2021 | |
[Dry-Schema] Adding rules to Dry::Schema | 6 | 906 | June 23, 2021 | |
Does dry-validation support schemas where the top level is an Array? | 2 | 592 | November 17, 2022 | |
How to validate an array of different objects using dry-schema gem | 2 | 3609 | December 10, 2021 | |
Dry-validation multiple rules for same field | 1 | 1359 | May 21, 2018 |