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

Use ::class instead of ::class.java for enumerations #370

Closed
hafarooki opened this issue Aug 12, 2018 · 1 comment
Closed

Use ::class instead of ::class.java for enumerations #370

hafarooki opened this issue Aug 12, 2018 · 1 comment
Assignees

Comments

@hafarooki
Copy link

I don't really understand why use .java if both the API and the program have to be in Kotlin. At that point why not just use ::class for enumerations instead of ::class.java? It seems like unnecessary extra length

@Tapac
Copy link
Contributor

Tapac commented Aug 16, 2018

Alternate version with KClass was added to master. previous versions were deprecated and will be removed in the future releases.

@Tapac Tapac closed this as completed Aug 16, 2018
Tapac added a commit that referenced this issue Dec 27, 2018
…ctions are deprecated to error level + Class -> KClass in column type implementations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants