Skip to content

Conversation

@kazuki43zoo
Copy link
Member

See gh-947

In current implementation, there is case that can not detect a type handler related with interface when enum implements multiple interface. I've fixed this behavior.

Note:
And I've added asserts as follow:

  • not found a type handler for interface
  • found a type handler at super interface

@harawata Please review this.

@kazuki43zoo kazuki43zoo requested a review from harawata March 16, 2017 02:40
@kazuki43zoo kazuki43zoo self-assigned this Mar 16, 2017
@kazuki43zoo kazuki43zoo force-pushed the gh-947_enumtypehandler-for-interface branch from f38daee to 54fe9da Compare March 16, 2017 02:50
Copy link
Member

@harawata harawata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Thanks!

@kazuki43zoo kazuki43zoo merged commit 8bd0701 into mybatis:master Mar 16, 2017
@kazuki43zoo kazuki43zoo deleted the gh-947_enumtypehandler-for-interface branch March 16, 2017 06:45
pulllock pushed a commit to pulllock/mybatis-3 that referenced this pull request Oct 19, 2023
…r-for-interface

Support enum that implements multiple interfaces
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.

2 participants