bug #34546 [Serializer] Add DateTimeZoneNormalizer into Dependency Injection (jewome62)
This PR was submitted for the master branch but it was merged into the 4.3 branch instead (closes #34546).
Discussion
----------
[Serializer] Add DateTimeZoneNormalizer into Dependency Injection
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | none
| License | MIT
| Doc PR | none
https://github.com/symfony/symfony/pull/30915
I have forgot to add new Normalizer into DI 🤭
#SymfonyHackday
Commits
-------
1a81dd7de8
Add DateTimeZoneNormalizer into Dependency Injection
This commit is contained in:
commit
e50d80870e
@ -38,6 +38,11 @@
|
||||
<tag name="serializer.normalizer" priority="-915" />
|
||||
</service>
|
||||
|
||||
<service id="serializer.normalizer.datetimezone" class="Symfony\Component\Serializer\Normalizer\DateTimeZoneNormalizer">
|
||||
<!-- Run before serializer.normalizer.object -->
|
||||
<tag name="serializer.normalizer" priority="-915" />
|
||||
</service>
|
||||
|
||||
<service id="serializer.normalizer.dateinterval" class="Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer">
|
||||
<!-- Run before serializer.normalizer.object -->
|
||||
<tag name="serializer.normalizer" priority="-915" />
|
||||
|
Reference in New Issue
Block a user