From 6357d233d3d7162e0d08d8b87f958a2faf744195 Mon Sep 17 00:00:00 2001
From: Kevin Bond <kevinbond@gmail.com>
Date: Fri, 28 Oct 2022 14:14:08 -0400
Subject: [PATCH] Set `UserValueResolver`'s priority higher than
 `EntityValueResolver`

---
 Resources/config/security.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Resources/config/security.php b/Resources/config/security.php
index cae8893d..9cff34b0 100644
--- a/Resources/config/security.php
+++ b/Resources/config/security.php
@@ -100,7 +100,7 @@
             ->args([
                 service('security.token_storage'),
             ])
-            ->tag('controller.argument_value_resolver', ['priority' => 40])
+            ->tag('controller.argument_value_resolver', ['priority' => 120])
 
         // Authentication related services
         ->set('security.authentication.trust_resolver', AuthenticationTrustResolver::class)