Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
javiereguiluz wants to merge2 commits intosymfony:3.2fromjaviereguiluz:fix_7282

Conversation

@javiereguiluz
Copy link
Member

Thisfixes#7282.

));
..versionadded::3.1
The ``serializer.mapping.cache.doctrine.apc`` service was introduced in 3.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Theserializer.mapping.cache.doctrine.apc service is now also deprecated since Symfony 3.2 (seesymfony/symfony#19236).

@xabbuh
Copy link
Member

We should instead drop theframework.serializer.cache config option entirely here. In this case, the FrameworkBundle will decorate theClassMetadataFactory with an instance ofCacheClassMetadataFactory which leverages the already installed and preconfigured cache configuration (i.e. using APCu when present).

@xabbuh
Copy link
Member

By the way, this option was also deprecated in Symfony 3.1 (seesymfony/symfony#18630).

@xabbuh
Copy link
Member

changelog fixed accordingly insymfony/symfony@b033e79

@javiereguiluz
Copy link
MemberAuthor

thanks for the review and the explanation. This should be fixed now.

# ...
serializer:
cache:serializer.mapping.cache.apc
cache:id.of.my.own.cache.service
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Instead of using theframework.serializer.cache option we should explain to configure thecache.serializer (which defaults tocache.system) service through theframework.cache.pools option.

@javiereguiluz
Copy link
MemberAuthor

Closing because I don't understand this part of Symfony well enough. Another person can take over this PR and finish it. Thanks!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh left review comments

Assignees

No one assigned

Projects

None yet

Milestone

3.2

Development

Successfully merging this pull request may close these issues.

4 participants

@javiereguiluz@xabbuh@HeahDude@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp