I have a field that should allow objects with specific combinations in the array. For example:
[
{firstName: 'A', lastName:'AAA'}, // valid
{firstName: 'A', lastName:'BBB'}, // valid
{firstName: 'A', lastName:'CCC'}, //not allowed
]
Is this possible with Yup?