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 | |
---|---|---|---|---|
Choosing a schema based on the value of a property | 0 | 721 | October 23, 2017 | |
[dry-schema] Array of hashes with one of schemas | 3 | 927 | June 26, 2019 | |
Array of hashes on a custom type in params schema | 3 | 1151 | October 6, 2019 | |
Empty array in array of hashes - no errors | 4 | 1458 | November 30, 2019 | |
How to define a schema for hashes with non Symbol/String keys | 4 | 457 | December 18, 2024 |