Skip to content

对mapper找不到的情况进行mapper的创建,以便增加对嵌套对象的默认处理#17

Open
bing5tui3 wants to merge 1 commit into
neoremind:masterfrom
bing5tui3:feature-autoCascading-20230610
Open

对mapper找不到的情况进行mapper的创建,以便增加对嵌套对象的默认处理#17
bing5tui3 wants to merge 1 commit into
neoremind:masterfrom
bing5tui3:feature-autoCascading-20230610

Conversation

@bing5tui3

Copy link
Copy Markdown

目前对于属性是对象的情况如果找不到对应的Mapper则直接报错,需要手工在外层增加对应类型的Mapper注册,这边在核心逻辑处提供一个默认的注册,如果找不到Mapper则自动进行对应类型的Mapper注册,省去很多业务层的手工注册代码。

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