Skip to content

Commit efd8a2b

Browse files
committed
Update ElementReader.java
1 parent 02b8db4 commit efd8a2b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

http-generator-core/src/main/java/io/avaje/http/generator/core/ElementReader.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ TypeHandler initTypeHandler() {
9393
return TypeMap.enumParamHandler(type);
9494
} else if (isCollection) {
9595
this.isParamCollection = true;
96-
if (paramType == ParamType.FORMPARAM) {
97-
throw new IllegalStateException("You can't have a single Form Parameter be a list");
98-
}
9996
final var isEnumCollection =
10097
typeOp
10198
.flatMap(t -> Optional.ofNullable(ctx.typeElement(t.param0())))

0 commit comments

Comments
 (0)