Skip to content

Commit f4d7834

Browse files
fix merge
1 parent cceb83b commit f4d7834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/ArgumentResolver/RequestPayloadValueResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private function mapRequestPayload(Request $request, ArgumentMetadata $argument,
212212
}
213213

214214
if (\is_array($data)) {
215-
return $this->serializer->denormalize($data, $type, 'csv', $attribute->serializationContext + self::CONTEXT_DENORMALIZE);
215+
return $this->serializer->denormalize($data, $type, 'csv', $attribute->serializationContext + self::CONTEXT_DENORMALIZE + ('form' === $format ? ['filter_bool' => true] : []));
216216
}
217217

218218
if ('form' === $format) {

0 commit comments

Comments
 (0)