We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
希望 @AutoOperate 能够像操作者接口那样,支持直接从被注解的方法或者参数上解析操作配置。
比如:
@Assemble(key = "id", container = "foo") @AutoOperate(resolveOperationsFromCurrentElement = true) // 从 listByIds 方法上解析操作配置 public List<Foo> listByIds(Collection<Integer> ids); public void preocessFoo( @Assemble(key = "id", container = "foo") @AutoOperate(resolveOperationsFromCurrentElement = true) // 从 targets 方法参数上解析操作配置 Collection<Foo> targets );
在上述两个操作中,装配操作将遵循 @AutoOperate 所在类/参数上的 @Assemble 注解,而不是 Foo 类本身。
@Assemble
Foo
The text was updated successfully, but these errors were encountered:
feat(AutoOperate): support obtaining operation configurations from an…
119dbff
…notated method or parameter (GitHub #223)
de84a38
Createsequence
No branches or pull requests
希望
@AutoOperate
能够像操作者接口那样,支持直接从被注解的方法或者参数上解析操作配置。比如:
在上述两个操作中,装配操作将遵循
@AutoOperate
所在类/参数上的@Assemble
注解,而不是Foo
类本身。The text was updated successfully, but these errors were encountered: