Skip to content

Commit

Permalink
[Serializer] Fix unexpected allowed attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
mtarld authored and mathias-drdata committed Mar 19, 2024
1 parent 322b40a commit 1b9da97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/config/serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@
service('property_info')->ignoreOnInvalid(),
service('serializer.mapping.class_discriminator_resolver')->ignoreOnInvalid(),
null,
[],
service('property_info')->ignoreOnInvalid(),
])

->alias(PropertyNormalizer::class, 'serializer.normalizer.property')
Expand Down

0 comments on commit 1b9da97

Please sign in to comment.