This commit is contained in:
@@ -121,6 +121,7 @@ public final class Rest {
|
|||||||
childFactory.register(rc.type(), true, rc.ignoreColumns());
|
childFactory.register(rc.type(), true, rc.ignoreColumns());
|
||||||
childFactory.reloadCoder(rc.type());
|
childFactory.reloadCoder(rc.type());
|
||||||
types.add(rc.type());
|
types.add(rc.type());
|
||||||
|
childFactory.tiny(rc.tiny());
|
||||||
}
|
}
|
||||||
return childFactory.getConvert();
|
return childFactory.getConvert();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|||||||
@Repeatable(RestConvert.RestConverts.class)
|
@Repeatable(RestConvert.RestConverts.class)
|
||||||
public @interface RestConvert {
|
public @interface RestConvert {
|
||||||
|
|
||||||
|
boolean tiny() default true;
|
||||||
|
|
||||||
Class type();
|
Class type();
|
||||||
|
|
||||||
String[] ignoreColumns() default {};
|
String[] ignoreColumns() default {};
|
||||||
|
|||||||
Reference in New Issue
Block a user