-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Messenger] Add serializer usage to InMemoryTransport #38893
Comments
Looks sensible to me. |
I agree with this. 👍 |
Could we make this configurable with Just make sure we use the configured (or default) serializer. |
What about adding a This way, the |
Yes indeed ! Love this idea |
InMemory is not already dedicated to test env ? |
You're right, my bad, I was thinking about a new transport as IMHO it's easier to maintain and improve rather than adding a new option and impacting the existing |
IIRC think that idea was discarded in the past because you could basically use a Doctrine transport on an SQLite file to achieve a "filesystem transport". |
Description
Use $serializer inside the InMemoryTransport.
Currently the in memory transport does not use the serializer compared to the others.
This removes the possibility in tests with messenger to test to the end the chain when a custom serializer is provided (in this case https://github.com/Happyr/message-serializer).
I've created my own transport and I wonder if it could be implemented directly in messenger.
WDYT ?
Example
The text was updated successfully, but these errors were encountered: