Exception: Using converters with parameterized types is not currently suppo

Also posted in Issues: https://github.com/vaadin/flow/issues/9384

I’m getting this error when using BigDecimalToStringEncoder on setItems of public interface CardListViewModel extends TemplateModel { } interface.

First I put several @Encode annotations but then came this error. According to the Used in class part of the error message, it occurs in one of the interfaces my interface extends:

List<BigDecimal> getUserNumber4();
void setUserNumber4(BigDecimal... var1);

Is there any way around this? It’s about a single attribute there but I can’t remove it because it’s not under my control.