• Fabien Potencier's avatar
    feature #828 Converters (fabpot) · bcb07f44
    Fabien Potencier authored
    This PR was merged into the master branch.
    
    Discussion
    ----------
    
    Converters
    
    This PR reverts #769 (which tried to fix #768) as this is a breaks BC for the most usual use case of converters (#806).
    
    The decision has been taken (#814) that a converter always run, independently of the available request attribute names or controller argument names.
    
    Because of the above, running the converters as a controller event is not needed anymore, and moving the converters earlier in the process gives more power to the developer (#825 and #826).
    
    Commits
    -------
    
    a0644877 Convert request attributes in the KernelEvents::REQUEST event instead of KernelEvents::CONTROLLER event (closes #825)
    3b207399 added a note about global  converters being applied to all controllers
    76776926 Revert "merged branch igorw/convert-only-existing-attribute (PR #769)"
    bcb07f44
Name
Last commit
Last update
..
cookbook Loading commit data...
providers Loading commit data...
changelog.rst Loading commit data...
conf.py Loading commit data...
contributing.rst Loading commit data...
index.rst Loading commit data...
internals.rst Loading commit data...
intro.rst Loading commit data...
middlewares.rst Loading commit data...
organizing_controllers.rst Loading commit data...
phar.rst Loading commit data...
providers.rst Loading commit data...
services.rst Loading commit data...
testing.rst Loading commit data...
usage.rst Loading commit data...
web_servers.rst Loading commit data...