Skip to content

Improve Kotlin Support #154

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

Merged
merged 8 commits into from
Nov 21, 2019
Merged

Improve Kotlin Support #154

merged 8 commits into from
Nov 21, 2019

Conversation

jeffgbutler
Copy link
Member

Previously, several overloaded methods could collide. This causes queries to be fragile and very dependent on having the correct imports in a Kotlin file. With this improved support there is no longer any ambiguity.

This change removes the old extension methods in favor of builder classes. This is important because there was a possibility of incorrect code generating if the wrong imports were used. The old method had such highly overloaded methods names that the wrong method could have easily been specified which would cause unpredictable results.
@jeffgbutler jeffgbutler merged commit b23d9a3 into mybatis:master Nov 21, 2019
@jeffgbutler jeffgbutler deleted the fix-kotlin branch November 21, 2019 01:48
@jeffgbutler jeffgbutler added this to the 1.1.4 milestone Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant