opengoofy/crane4j

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

Opened this issue · 0 comments

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

  • 如果是单参数方法,则默认为 ORDER_OF_KEYS
  • 如果返回值为非对象类型的集合或数值,则默认为 ORDER_OF_KEYS
  • 如果返回值为对象集合,则默认为 ONE_TO_ONE