jcasbin / mybatis-adapter

MyBatis 3 adapter for Casbin
https://github.com/casbin/jcasbin
Apache License 2.0
11 stars 7 forks source link

feat: support `batchAdapter` #10

Closed imp2002 closed 1 year ago

imp2002 commented 1 year ago

Similar with: https://github.com/jcasbin/redis-adapter/pull/16

casbin-bot commented 1 year ago

@tangyang9464 please review

codecov[bot] commented 1 year ago

Codecov Report

Base: 68.42% // Head: 69.89% // Increases project coverage by +1.47% :tada:

Coverage data is based on head (9849f07) compared to base (472fa35). Patch coverage: 86.66% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #10 +/- ## ============================================ + Coverage 68.42% 69.89% +1.47% - Complexity 34 38 +4 ============================================ Files 2 2 Lines 171 186 +15 Branches 22 22 ============================================ + Hits 117 130 +13 - Misses 37 38 +1 - Partials 17 18 +1 ``` | [Impacted Files](https://codecov.io/gh/jcasbin/mybatis-adapter/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jcasbin) | Coverage Δ | | |---|---|---| | [...c/main/java/org/casbin/adapter/MybatisAdapter.java](https://codecov.io/gh/jcasbin/mybatis-adapter/pull/10/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jcasbin#diff-c3JjL21haW4vamF2YS9vcmcvY2FzYmluL2FkYXB0ZXIvTXliYXRpc0FkYXB0ZXIuamF2YQ==) | `73.85% <86.66%> (+1.39%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jcasbin). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jcasbin)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.