You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We now provide a KProperty extension leveraging KProperty references to express a property path. Using Kotlin property references (such as Author::name that translates to `book` or Book::author / Author.name translating to `book.author`) is refactoring-safe as the property expressions are part of the Kotlin language. We render KPropertyPath using the same semantics as our PropertyPath so that store-specific modules can leverage either property paths or accept KProperty directly.
In contrast to the previous implementation, KPropertyPath is private and the rendering function was renamed to toDotPath to align with PropertyPath.toDotPath.
Related ticket: DATAMONGO-2138 (spring-projects/spring-data-mongodb#3515)
Original Pull Request: #478Closes: #2250
Mark Paluch opened DATAMONGO-2662 and commented
Issue Links:
DATACMNS-1835 Provide Type-safe Kotlin query extension
("depends on")
DATACMNS-1835 - Provide Type-safe Kotlin query extension spring-data-commons#478 Provide Type-safe Kotlin query extension ("depends on")
The text was updated successfully, but these errors were encountered: