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

@ContainerMethod注解的type属性支持自动适配 #293

Open
Createsequence opened this issue May 21, 2024 · 0 comments
Open

@ContainerMethod注解的type属性支持自动适配 #293

Createsequence opened this issue May 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Createsequence
Copy link
Collaborator

支持在不指定 @ContainerMethod#type 属性的前提下,进行一定程度的自动适配,比如:

  • 如果是单参数方法,则默认为 ORDER_OF_KEYS
  • 如果返回值为非对象类型的集合或数值,则默认为 ORDER_OF_KEYS
  • 如果返回值为对象集合,则默认为 ONE_TO_ONE
@Createsequence Createsequence added the enhancement New feature or request label May 21, 2024
@Createsequence Createsequence added this to the release 2.9.0 milestone May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant