8000 Fixing serializer config - much is now done automatically by weaverryan · Pull Request #8710 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Fixing serializer config - much is now done automatically #8710

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

Merged
merged 2 commits into from
Nov 24, 2017
Merged

Fixing serializer config - much is now done automatically #8710

merged 2 commits into from
Nov 24, 2017

Conversation

weaverryan
Copy link
Member

ping @javiereguiluz. The following is done automatically in 3.3 and higher:

  • serializer is automatically enabled when the component is present (when not using the full stack SE)
  • serializer annotations is automatically enabled when annotations is present
  • caching is handled by another system, and is enabled by default

This should be merged into 4.0, because it's the only time that not using the full stack is standard... so effectively it only affects 4.0.

Also, viva Flex and the new systems! Look how much config is removed :)

@weaverryan weaverryan added this to the 4.0 milestone Nov 21, 2017
@weaverryan weaverryan changed the base branch from master to 4.0 November 21, 2017 19:05
serializer.rst Outdated
.. configuration-block::

.. code-block:: yaml
Configruing the Metadata Cache
Copy link
Member

Choose a reason for hiding this comment

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

Configuring

),
));
The metadata for the serializer is automatically cached. To configure the cache,
configure the ``framework.cache.pools`` key in ``config/packages/framework.yaml``.
Copy link
Member

Choose a reason for hiding this comment

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

Can't we link to another document here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ha! I'm happy you said that. No, there is no better link yet, because we're missing some cache docs! When I hit this, I already created #8711 and linked back to this, so we can improve it later :)

@weaverryan weaverryan merged commit 8634e40 into symfony:4.0 Nov 24, 2017
weaverryan added a commit that referenced this pull request Nov 24, 2017
… (weaverryan)

This PR was squashed before being merged into the 4.0 branch (closes #8710).

Discussion
----------

Fixing serializer config - much is now done automatically

ping @javiereguiluz. The following is done automatically in 3.3 and higher:

* serializer is automatically enabled when the component is present (when not using the full stack SE)
* serializer annotations is automatically enabled when annotations is present
* caching is handled by another system, and is enabled by default

This should be merged into 4.0, because it's the only time that not using the full stack is standard... so effectively it only affects 4.0.

Also, viva Flex and the new systems! Look how much config is removed :)

Commits
-------

8634e40 typo
cb31900 Fixing serializer config - much is now done automatically
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0