You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 13, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 13, 2022. It is now read-only.
Spring Boot configuration property auto-completion does not offer properties on super classes #315
When auto-completing spring.security.oauth2.client.registration.login.mylogin. only two properties are offered: redirect-uri and redirect-uri-template. These are both on org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientProperties.LoginClientRegistration. However, LoginClientRegistration inherits several other properties from org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientProperties.BaseClientRegistration but these are not offered by auto-completion. I am using 3.9.5.201807030714-RELEASE.
I remember cutting a corner there. So I can confirm we don't currently examine the type hierarchy to find additional bean properties in inherited methods.
Is this fixable, I'd say yes. Might pose a little challenge because operations on the type hierarchy, can be a little expensive to do during a completion request.
I'll try today a bit to see how hard it be to fix in a branch.
Activity
martinlippert commentedon Sep 18, 2018
@kdvolder Can you take a look?
kdvolder commentedon Sep 18, 2018
I remember cutting a corner there. So I can confirm we don't currently examine the type hierarchy to find additional bean properties in inherited methods.
Is this fixable, I'd say yes. Might pose a little challenge because operations on the type hierarchy, can be a little expensive to do during a completion request.
I'll try today a bit to see how hard it be to fix in a branch.
kdvolder commentedon Oct 18, 2018
Closing in favor of: spring-projects/spring-tools#116