Closed
Description
Symfony version(s) affected: 4.3.7
Description
Since #34035, cannot denormalize with that syntax ['groups' => 'user']
How to reproduce
$obj = $normalizer->denormalize(['bar' => 'Api Platform'], Foo::class, null, ['groups' => 'user']);
-->
/**
In MetadataAwareNameConverter.php line 126:
Warning: array_intersect(): Expected parameter 2 to be an array, string given
*/
Possible Solution
@antograssiot If you could have a look at this
Additional context