Skip to content

Use Kotlin metadata to retrieve parameter names of Endpoints #16199

@snicoll

Description

@snicoll

Thanks to @sdeleuze I was able to improve the logic to extract parameters name of @ConfigurationProperties constructors with Kotlin. This results in a simpler setup for Kotlin users as they don't have to specify the java-parameters attribute on the compiler.

We're currently documenting that this is required but that's not strictly necessary so I wonder if we shouldn't apply the same trick there as well. We could then stop using the flag ourselves in our test suites to validate that this is working as expected (this would require some Kotlin-specific tests though).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions