Using Symfony Serializer with Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor
will cause the type of $url
property to be detected incorrectly.
$serializer->deserialize(SomeResponse::class, '{"url": "http://test"}');
We'll get an exception with an error like this: