You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "NikoTung (via GitHub)" <gi...@apache.org> on 2023/04/14 01:30:21 UTC

[GitHub] [dubbo] NikoTung commented on issue #12078: Filter setter method not injected under Spring-boot environment

NikoTung commented on issue #12078:
URL: https://github.com/apache/dubbo/issues/12078#issuecomment-1507805125

   After I searched, the Spring-boot doesn't support specifying a bean name for `@EnableConfigurationProperties` https://github.com/spring-projects/spring-boot/issues/19390.
   Then I think the previous fix #9187 is option to fix it, by adding an annotation to the setter method and let the developer to decide how to inject. Or, by looking up the bean by type once failed to find bean by name in `SpringExtensionInjector`. Since this issue only happen under Spring-boot with `@ConfigurationProperties`, I prefer the latter.


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org