KPropertyPath
doesn't support Iterables
#3010
Labels
in: kotlin
Kotlin support
status: ideal-for-contribution
An issue that a contributor can help us with
type: enhancement
A general enhancement
Milestone
The
KPropertyPath
currently doesn't support references fromIterables
such asList
,Set
, etc. to the type of the element.The implementation in
org.springframework.data.mapping.KPropertyPath
should be able to construct paths such asaddresses.street
for the usage in indexes, queries and aggregations to leverage the type-safety of Kotlin for paths references in Spring Data MongoDB.A similar implementation is offered by the now deprecated project KMongo, see KPropertyPath.kt and Properties.kt.
The text was updated successfully, but these errors were encountered: