Skip to content

fix: 修复FastBeanCopier父类泛型字段复制#356

Merged
zhou-hao merged 1 commit into
hs-web:5.0.xfrom
goten7:codex/fix-fast-bean-copier-generic-field
Jul 7, 2026
Merged

fix: 修复FastBeanCopier父类泛型字段复制#356
zhou-hao merged 1 commit into
hs-web:5.0.xfrom
goten7:codex/fix-fast-bean-copier-generic-field

Conversation

@goten7

@goten7 goten7 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

变更说明

  • 修复 FastBeanCopier 解析父类泛型字段时未带入目标子类上下文的问题
  • 使用 ResolvableType.resolve() 获取子类绑定后的实际泛型类型
  • 新增 FastBeanCopierBeanTest 覆盖直接泛型字段和父类泛型字段复制场景

验证

  • zsh -lic 'java21; mvn -pl hsweb-core -Dtest=FastBeanCopierBeanTest test'

@goten7

goten7 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

@zhou-hao 大佬麻烦看看这个

@zhou-hao zhou-hao merged commit 5e9e4a2 into hs-web:5.0.x Jul 7, 2026
1 of 2 checks passed
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