Skip to content

Commit 42b1a37

Browse files
Jens Suhrrozza
Jens Suhr
authored andcommitted
JAVA-5776 Make KProperty<T>.path() public
1 parent 410dd53 commit 42b1a37

File tree

1 file changed

+1
-1
lines changed
  • driver-kotlin-extensions/src/main/kotlin/com/mongodb/kotlin/client/model

1 file changed

+1
-1
lines changed

driver-kotlin-extensions/src/main/kotlin/com/mongodb/kotlin/client/model/Properties.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public operator fun <T0, K, T1, T2> KProperty1<T0, Map<out K, T1>?>.div(
6767
* - BsonProperty annotation
6868
* - Property name
6969
*/
70-
internal fun <T> KProperty<T>.path(): String {
70+
public fun <T> KProperty<T>.path(): String {
7171
return if (this is KPropertyPath<*, T>) {
7272
this.name
7373
} else {

0 commit comments

Comments
 (0)