Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自动填充方法参数时,AutoOperate.resolveOperationsFromCurrentElement 配置不生效 #258

Closed
Createsequence opened this issue Apr 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Createsequence
Copy link
Collaborator

示例代码如下:

@ArgAutoOperate({@AutoOperate(value = "arg", type = Map.class, resolveOperationsFromCurrentElement = true)})
public Map<String, Object> test(@Assemble(key = "id", container = "test", prop = "name") Map<String, Object> arg) {
    return r;
}

当自动填充参数 arg 时,设置了 resolveOperationsFromCurrentElement = true,并且直接在参数上通过 @Assemble 注解配置了填充操作,实际执行时不生效。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant