From ab47ac50c0f1f4cf25fb0fd0cb3898adec08d83d Mon Sep 17 00:00:00 2001 From: sonsumin Date: Tue, 19 Nov 2024 22:57:11 +0900 Subject: [PATCH] =?UTF-8?q?[#2]=E2=9C=A8Feat:=20ArgumentResolver=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/univ/yesummit/global/auth/config/WebMvcConfig.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/univ/yesummit/global/auth/config/WebMvcConfig.java b/src/main/java/univ/yesummit/global/auth/config/WebMvcConfig.java index a7c675c..e132a2b 100644 --- a/src/main/java/univ/yesummit/global/auth/config/WebMvcConfig.java +++ b/src/main/java/univ/yesummit/global/auth/config/WebMvcConfig.java @@ -26,5 +26,9 @@ public void addCorsMappings(final CorsRegistry registry ){ .allowCredentials(true); } - + @Override + public void addArgumentResolvers(List resolvers) { + WebMvcConfigurer.super.addArgumentResolvers(resolvers); // 기존 Resolver + resolvers.add(authArgumentResolver); // 커스텀 Resolver + } } \ No newline at end of file