Skip to content

Fix regression in provider-annotated Mapper method registration - #952

Open
wuwen5 wants to merge 2 commits into
abel533:masterfrom
wuwen5:copilot/fix-provider-registration-issue
Open

wuwen5 wants to merge 2 commits into
abel533:masterfrom
wuwen5:copilot/fix-provider-registration-issue

Conversation

@wuwen5

@wuwen5 wuwen5 commented Oct 24, 2026

Copy link
Copy Markdown

在 #908 的实现中将 Mapper 接口中的所有方法都参与 provider 注册,破坏了原先“仅注册 @XxxProvider 注解方法”的边界。
这会导致包含自定义方法的用户 Mapper 在启动时被错误校验,并抛出 EmptyProvider 中缺少 xxx 方法。
建议恢复按注解/可识别 provider 元数据进行过滤注册,避免将用户自定义方法纳入 provider 映射范围。

Copilot AI and others added 2 commits October 24, 2026 07:20
Co-authored-by: wuwen5 <5037807+wuwen5@users.noreply.github.com>
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