Skip to content

[Cache] Symfony Serializer implementation for MarshallerInterface #54411

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

Closed
ghost opened this issue Mar 26, 2024 · 6 comments
Closed

[Cache] Symfony Serializer implementation for MarshallerInterface #54411

ghost opened this issue Mar 26, 2024 · 6 comments

Comments

@ghost
Copy link

ghost commented Mar 26, 2024

Description

I'm surprised there is no built-in integration for Cache Component with Serializer Component as the implementation of MarshallerInterface.

Example

No response

@chalasr
Copy link
Member

chalasr commented Apr 6, 2024

Please give more insights about what a possible implementation would look like and more importantly what benefits it would bring.

@ghost
Copy link
Author

ghost commented Apr 6, 2024

IIUC Marshaller is just a serializer but another name was chosen not to create second SerializerInterface class in Symfony ecosystem. JSON string is a type of serializer string so one may want to store the cached value as a json (e.g. cache as json and return cached jsonstring directly from API). Integration with Serializer Component would allow that.

@raffaelecarelle
Copy link
Contributor

@carsonbot
Copy link

Thank you for this suggestion.
There has not been a lot of activity here for a while. Would you still like to see this feature?
Every feature is developed by the community.
Perhaps someone would like to try?
You can read how to contribute to get started.

@carsonbot
Copy link

Could I get a reply or should I close this?

@carsonbot
Copy link

Hey,

I didn't hear anything so I'm going to close it. Feel free to comment if this is still relevant, I can always reopen!

@carsonbot carsonbot closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants