First, I'd like to say that `@KomapperProjection` ...
# komapper
d
First, I'd like to say that
@KomapperProjection
is a great feature ❤️🚀, there's so many great use cases it fills! I'm just having a little issue... I don't know if it makes sense to support
List<...>
as one of the properties when dealing with one-to-many relations... but it would be great if it could be possible! For now it seems like ksp just complains that the property must not be generic... which means that any generics is not allowed?
t
> one-to-many relations Sorry, but It is not supported. > For now it seems like ksp just complains that the property must not be generic Try to add
@KomapperIgnore
to the property.
d
In the context of projections, I guess I'd have to initialize it with an
emptyList()
and then fill it in as a second step... that could be possible, thanks!
👍 1