We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e41f5e + 6d7938a commit 29447d8Copy full SHA for 29447d8
1 file changed
src/Mailjet/Normalizer/ContactNormalizer.php
@@ -40,10 +40,13 @@ private static function getValidationRule(): Assert\Collection
40
return new Assert\Collection([
41
'fields' => [
42
'filters' => new Assert\Collection([
43
- 'countonly' => new Assert\Length(['min' => 1]),
+ 'fields' => [
44
+ 'countonly' => new Assert\Length(['min' => 1]),
45
+ ],
46
+ 'allowExtraFields' => true,
47
]),
48
],
- 'allowMissingFields' => false,
49
50
]);
51
}
52
0 commit comments