Skip to content

Conversation

@7-zete-7
Copy link

@7-zete-7 7-zete-7 commented Sep 9, 2025

Fixes #149

These changes add support for ArrayObject as a result of object normalization and cover issue #149 with test.

Copy link
Contributor

@TamasSzigeti TamasSzigeti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My test still fails at denormalization

Symfony\Component\Serializer\Exception\NotNormalizableValueException: Data expected to be "ArrayObject[]", "ArrayObject" given.
…
/app/vendor/dunglas/doctrine-json-odm/src/SerializerTrait.php:91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Serializer decorator does not support ArrayObject as object normalization result

2 participants