You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symfony\Component\TypeInfo\Exception\LogicException : Cannot get base type on "int|string" compound type.
/Volumes/CS/www/cosmos/vendor/symfony/type-info/Type/UnionType.php:48
/Volumes/CS/www/cosmos/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:705
/Volumes/CS/www/cosmos/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:830
/Volumes/CS/www/cosmos/vendor/symfony/serializer/Normalizer/AbstractNormalizer.php:371
/Volumes/CS/www/cosmos/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:239
/Volumes/CS/www/cosmos/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:335
/Volumes/CS/www/cosmos/vendor/symfony/serializer/Serializer.php:238
/Volumes/CS/www/cosmos/vendor/symfony/serializer/Serializer.php:143
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
OskarStark
changed the title
[Serializer] Cannot get base type on "int|string" compound type
[Serializer] Cannot get base type on int|string compound type
May 24, 2024
… (HypeMC)
This PR was merged into the 7.1 branch.
Discussion
----------
[Serializer] Fix denormalizing a collection of union types
| Q | A
| ------------- | ---
| Branch? | 7.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix#56874
| License | MIT
Commits
-------
0691eb8 [Serializer] Fix denormalizing a collection of union types
Symfony version(s) affected
7.1-RC1
Description
The Serializer component switched to the new TypeInfo component and now our serialization breaks:
How to reproduce
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: