Open
Description
The code from Here
public function supportsDenormalization($data, $type, $format = null)
{
return substr($type, -2) === '[]'
&& $this->serializer->supportsDenormalization($data, substr($type, 0, -2), $format);
}
Why the array is sent to $this->serializer->supportsDenormalization
? Should not we send the item of array? Or it's supposed that my object denormalizer checks arrays also?
Thanks
Metadata
Metadata
Assignees
Labels
Issues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.