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

Improve transformation of java types to kotlin for extensions #331

Merged
merged 1 commit into from
Oct 23, 2017

Conversation

elihart
Copy link
Contributor

@elihart elihart commented Oct 23, 2017

The kotlin extension methods generated for models were using java types instead of kotlin types. When kotlin has a different type for certain classes, like collection classes, strings, or primitives, we now use the correct kotlin class.

This also uses the special kotlin array classes for primitives, like IntArray instead of Array.

@elihart elihart merged commit 715cadd into master Oct 23, 2017
@elihart elihart deleted the eli-kotlin_extension_types branch October 23, 2017 01:05
@elihart elihart mentioned this pull request Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant