Closed
Description
Symfony version(s) affected
6.4 RC2
Description
Hello, I have an API Platform route which returns a collection :
[
{
"id": 2,
"type": "snippet",
"name": "Test if a Doctrine entity is already persisted in the database",
"datePublished": "2018-09-11T00:00:00+02:00",
"dateModified": "2018-09-23T00:00:00+02:00",
"author": "COil"
},
It works well with Symfony 6.4 RC1, but with RC2 it returns an empty list :
[[],[],[],[],[],[],[],[],[],[]]
It comes from the serializer component, I get the bug when only updating this component :
composer up symfony/serializer ✔ 39s ⬢ 18.17.0 8.2.12 19:26:00
Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "6.4.*"
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading symfony/serializer (v6.4.0-RC1 => v6.4.0-RC2)
How to reproduce
up / down
Possible Solution
serializer component
Additional Context
- PHP 8.2
- Symfony 6.4 RC2
- API Patform 3.1.7