Skip to content

Commit

Permalink
Merge pull request #954 from sgehrig/fix/953-union-handler
Browse files Browse the repository at this point in the history
adds service registration for JMS\Serializer\Handler\ UnionHandler
  • Loading branch information
scyzoryck authored Nov 6, 2024
2 parents 2eefc11 + d14b815 commit 0538a2b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
<tag name="jms_serializer.subscribing_handler" />
</service>

<service id="jms_serializer.union_handler" class="JMS\Serializer\Handler\UnionHandler" public="false">
<tag name="jms_serializer.subscribing_handler" />
</service>

<service id="jms_serializer.array_collection_handler" class="JMS\Serializer\Handler\ArrayCollectionHandler" public="false">
<argument type="constant">false</argument>
<tag name="jms_serializer.subscribing_handler" />
Expand Down

0 comments on commit 0538a2b

Please sign in to comment.