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

Add support for Kotlin nullable types #844

Open
mschorsch opened this issue Nov 10, 2022 · 1 comment
Open

Add support for Kotlin nullable types #844

mschorsch opened this issue Nov 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@mschorsch
Copy link

See quarkusio/quarkus#27319

@radcortez
Copy link
Member

I looked into this, and supporting it may require some work. Unfortunately, there doesn't seem to exist a way to determine if a type is nullable or not on the Java side https://youtrack.jetbrains.com/issue/KT-14909.

Either we need to create a separate module to access the Kotlin API and query Kotlin reflection, or we need to provide an annotation processor and look for the nullable annotations. On top of this, the mapping API will require some changes to allow consuming external metadata and merging it with the metadata read from Java.

It would be great if someone helps with this. Or maybe even have a better idea of how to support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants