-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Scheduler] Normalize TriggerInterface
as string
#59679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No opinion on the patch itself. From afar, adding a new class + service looks like a new feature to me but I'm not much into the topic.
src/Symfony/Component/Scheduler/Tests/Messenger/SchedulerTriggerNormalizerTest.php
Show resolved
Hide resolved
src/Symfony/Component/Scheduler/Tests/Messenger/SchedulerTriggerNormalizerTest.php
Show resolved
Hide resolved
src/Symfony/Component/Scheduler/Messenger/Serializer/Normalizer/SchedulerTriggerNormalizer.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Scheduler/Messenger/Serializer/Normalizer/SchedulerTriggerNormalizer.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Scheduler/Messenger/Serializer/Normalizer/SchedulerTriggerNormalizer.php
Outdated
Show resolved
Hide resolved
Thanks for the review @nicolas-grekas, I have applied all suggestions. Let's wait for @kbond's take on the patch then. I would hope this makes it to 6.4, but since the issue (not being able to use Messenger transports using Symfony Serializer with Scheduler) has existed already over a year, waiting a little bit more (for 7.3) doesn't make a huge difference for me. |
9f6583d
to
20f676a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me!
I'm not sure on 6.4 vs 7.3. This does fix a bug but does so by adding a new service which feels like a feature.
From the maintenance doc. Strictly following this means this is a feature. |
20f676a
to
3aa47e0
Compare
Ok, thanks, rebased on |
Thank you @valtzu. |
Fix the issue with Scheduler & Serializer like @kbond described in #53562 (comment).
Fixes the following error: