Repository navigation
fix: Handler 订阅类型无法解析时不再订阅全部事件 (8.x/springboot-starter) - #229
Merged
Merged
Conversation
- ApplicationHandlerUtils 对 lambda / JDK 动态代理等无法解析泛型参数的 Handler, 不再退化为「订阅全部事件」,改为跳过并输出一次性告警,避免投递不相关事件后 抛出 ClassCastException; - 新增 removeHandlers,SpringDefaultEventHandler 实现 DisposableBean,在上下文 销毁时注销自己注册的 Handler 并关闭线程池,消除静态注册表跨上下文残留; - EventOrderE2ETest 的 Handler 改为具名类,补充订阅类型匹配与注销的回归测试; - 事件驱动规范补充 Handler 不得以 lambda 形式注册的说明。 Ref #228
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 8.2.x #229 +/- ##
============================================
+ Coverage 87.20% 87.30% +0.09%
- Complexity 2357 2390 +33
============================================
Files 217 218 +1
Lines 6176 6253 +77
Branches 411 420 +9
============================================
+ Hits 5386 5459 +73
- Misses 643 644 +1
- Partials 147 150 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ref #228
Describe what this PR does / why we need it
Does this pull request fix one issue?
Describe how you did it
Describe how to verify it
Special notes for reviews