Skip to content

Commit d45acbf

Browse files
committed
minor symfony#14069 Add information about resolver argument priority (casahugo)
This PR was submitted for the 5.1 branch but it was squashed and merged into the 4.4 branch instead. Discussion ---------- Add information about resolver argument priority Fixes symfony/symfony#37799 Commits ------- 2936b31 Add information about resolver argument priority
2 parents c1c550f + 2936b31 commit d45acbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controller/argument_value_resolver.rst

+1
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ priority of 100. As this one is responsible for fetching attributes from the
250250
lower priority. This makes sure the argument resolvers are not triggered when
251251
the attribute is present. For instance, when passing the user along a
252252
sub-requests.
253+
However, if the argument is resolved from a request attribute, it is necessary to set a priority of at least 100 otherwise the resolver will not be executed.
253254

254255
.. tip::
255256

0 commit comments

Comments
 (0)