Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove KClass based Kotlin extensions and keep only reified type parameters ones [SPR-15660] #20219

Closed
spring-projects-issues opened this issue Jun 13, 2017 · 0 comments
Assignees
Labels
type: task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Jun 13, 2017

Sébastien Deleuze opened SPR-15660 and commented

After more thoughts and discussion, I think this is better to keep only the reified type parameter extensions and to remove KClass based variants.

These KClass variants add too much overloaded options, can't leverage type system to infer the type, are not super Kotlin-ish and can be replaced by the Class original java method using Foo::class.java.


Referenced from: commits 04d5a29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task
Projects
None yet
Development

No branches or pull requests

2 participants