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-types tuple support | 0 | 33 | September 29, 2025 | |
| [Dry-Schema] Adding rules to Dry::Schema | 6 | 939 | June 23, 2021 | |
| Does dry-validation support schemas where the top level is an Array? | 2 | 603 | November 17, 2022 | |
| How to validate an array of different objects using dry-schema gem | 2 | 3645 | December 10, 2021 |