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

Fix generated kotlin #478

Merged
merged 1 commit into from
Jul 28, 2018
Merged

Fix generated kotlin #478

merged 1 commit into from
Jul 28, 2018

Conversation

elihart
Copy link
Contributor

@elihart elihart commented Jul 28, 2018

The generated kotlin extension methods didn't previously work if any models had type variables. This is now fixed.

Also, the generated file now suppresses deprecation warnings if any of the models used are deprecated.

Lastly, I updated the model id methods to accept null values instead of crashing. They result in an id of 0. This can be helpful when var args are used and one of them is null. This required updating the test files

@elihart elihart merged commit 8d87a2b into master Jul 28, 2018
@elihart elihart deleted the eli-generated_kotlin branch July 28, 2018 23:54
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