Skip to content

Commit

Permalink
[#2]✨Feat: ArgumentResolver 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sumin220 committed Nov 19, 2024
1 parent 40776b3 commit ab47ac5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@ public void addCorsMappings(final CorsRegistry registry ){
.allowCredentials(true);
}


@Override
public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers) {
WebMvcConfigurer.super.addArgumentResolvers(resolvers); // 기존 Resolver
resolvers.add(authArgumentResolver); // 커스텀 Resolver
}
}

0 comments on commit ab47ac5

Please sign in to comment.