https://kotlinlang.org logo
#komapper
Title
# komapper
d

dave08

03/03/2024, 1:58 PM
Also, it looks like Projections don't support
@KomapperEmbedded
properties?
t

Toshihiro Nakamura

03/04/2024, 11:15 AM
Projections support
@KomapperEmbedded
properties. Does it not work?
d

dave08

03/04/2024, 11:23 AM
The selectAs... generated doesn't take that property for some reason.
d

dave08

03/04/2024, 11:37 AM
That's funny... it generated that function with only one parameter for the embedded class itself, and not foo#prop1, foo#prop2...
But I don't have any column overrides
And I'm only using
@KomapperProjection
without
@KomapperEntity
and in that test it uses both.
t

Toshihiro Nakamura

03/04/2024, 12:10 PM
If you think it’s a bug in Komapper, please register the reproduction conditions in a GitHub issue.
d

dave08

03/04/2024, 12:11 PM
Ok, I'll try to see when I can squeeze out some time, but I suspect that it's because I'm only using the
@KomapperProjection
annotation. This might be a case that wasn't tested yet.
2 Views