-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Support excluding filter on mapper scan feature #836
Conversation
…Scan,people can use excludeFilters to customized mapper excludeFilters.
Few issues I see here
@kazuki43zoo Will need to check this out but please cleanup items noted and make a case for why deprecated code is being filled out while deprecation was left. Not seeing that was even needed off hand but didn't look deeper than that. |
thanks for replying
|
2.add comment.
src/main/java/org/mybatis/spring/annotation/MapperScannerRegistrar.java
Outdated
Show resolved
Hide resolved
thanks for updates, few more comments. |
thanks for review |
@kazuki43zoo Can you take a look at this one? |
@apdya Tests don't build, can you please take a look? |
sorry I haven't run all test in my local project before commit. I update the new added test code just now, and all test passed. |
Just wait a few time! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some comments.
-
Could you support this enhancement for the
<mybatis:scan>
(XML namespace feature)? If you cannot support it, I support it. -
Please perform
./mvnw clean verify
(can apply code formatter and update license header)
src/main/java/org/mybatis/spring/annotation/MapperScannerRegistrar.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mybatis/spring/annotation/MapperScannerRegistrar.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mybatis/spring/annotation/MapperScannerRegistrar.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mybatis/spring/annotation/MapperScannerRegistrar.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mybatis/spring/annotation/MapperScannerRegistrar.java
Outdated
Show resolved
Hide resolved
@kazuki43zoo |
|
still need some work |
|
…ceHolders' turn off test
@kazuki43zoo Is there anything else I need to change? |
@apdya Can you fix the merge conflict that exists now? |
@apdya I'll try to get to this in a week or two. I believe all was good and just got missed. I've got a reminder to review it again and take care of merging it in. If you could, assuming there isn't one, open an issue that same support needs added to xml namespace as I see commented on here a few times so its not missed in future and at least helps others see that support is not present. |
as to a release as I'm sure that will come next after merging, probably end of month we could also get a release out. |
@hazendaz thanks for reply. <mybatis:exclude-filter >(XML namespace feature) had been supported with commit [82ef68f] in this pr. test case: org.mybatis.spring.filter.xml.XmlScanFilterTest |
@apdya Merged. I'll try to get a release towards end of the month. If I miss that please do remind me here :) |
@apdya Sorry for delays. I had a few personal issues that took up most my time last month. So thank you for reminder. I'll work to get this released next week. |
fix issue #548. add field
ComponentScan.Filter[] excludeFilters()
in@MapperScan
. Support excluding filter onmapper scan feature.