-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Stop using the deprecated "serializer.mapping.cache.apc" service #8133
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
serializer.rst
Outdated
), | ||
)); | ||
|
||
.. versionadded:: 3.1 | ||
The ``serializer.mapping.cache.doctrine.apc`` service was introduced in 3.1 |
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.
The serializer.mapping.cache.doctrine.apc
service is now also deprecated since Symfony 3.2 (see symfony/symfony#19236).
We should instead drop the |
By the way, this option was also deprecated in Symfony 3.1 (see symfony/symfony#18630). |
changelog fixed accordingly in symfony/symfony@b033e79 |
thanks for the review and the explanation. This should be fixed now. |
@@ -223,7 +222,7 @@ A service leveraging `APCu`_ (and APC for PHP < 5.5) is built-in. | |||
framework: | |||
# ... | |||
serializer: | |||
cache: serializer.mapping.cache.apc | |||
cache: id.of.my.own.cache.service |
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.
Instead of using the framework.serializer.cache
option we should explain to configure the cache.serializer
(which defaults to cache.system
) service through the framework.cache.pools
option.
Closing because I don't understand this part of Symfony well enough. Another person can take over this PR and finish it. Thanks! |
This fixes #7282.