yu199195 commented on code in PR #4165:
URL: https://github.com/apache/shenyu/pull/4165#discussion_r1018612804


##########
shenyu-spring-boot-starter/shenyu-spring-boot-starter-sdk/src/main/java/org/apache/shenyu/springboot/starter/sdk/ShenyuSdkAutoConfiguration.java:
##########
@@ -69,16 +70,18 @@ public Contract springMvcContract() {
      * okHttpShenyuSdkClient.
      *
      * @param config config
+     * @param requestInterceptors the request interceptors
      * @param instanceRegisterRepository the instance register repository
      * @return {@link ShenyuSdkClient}
      */
     @Bean
     public ShenyuSdkClient shenyuSdkClient(final RegisterConfig config,
+                                           @Autowired(required = false) final 
List<ShenyuSdkRequestInterceptor> requestInterceptors,

Review Comment:
   maybe used ObjectProvider<List<ShenyuSdkRequestInterceptor>> 
requestInterceptors ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to