Skip to content
This repository was archived by the owner on Jul 13, 2022. It is now read-only.
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

Closed

Description

@wilkinsona

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.

Activity

  1. martinlippert commented on Sep 18, 2018

    @martinlippert
    Contributor

    @kdvolder Can you take a look?

  2. kdvolder commented on Sep 18, 2018

    @kdvolder
    Contributor

    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.

  3. kdvolder commented on Oct 18, 2018

    @kdvolder
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions