Skip to content

Commit 84b828c

Browse files
committed
Merge branch 'main' into gradle
2 parents 438e640 + 42b1a37 commit 84b828c

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"description": "Secondary with IPv6 literal",
3+
"uri": "mongodb://[::1]/?replicaSet=rs",
4+
"phases": [
5+
{
6+
"responses": [
7+
[
8+
"[::1]:27017",
9+
{
10+
"ok": 1,
11+
"helloOk": true,
12+
"isWritablePrimary": false,
13+
"secondary": true,
14+
"setName": "rs",
15+
"me": "[::1]:27017",
16+
"hosts": [
17+
"[::1]:27017"
18+
],
19+
"minWireVersion": 0,
20+
"maxWireVersion": 26
21+
}
22+
]
23+
],
24+
"outcome": {
25+
"servers": {
26+
"[::1]:27017": {
27+
"type": "RSSecondary",
28+
"setName": "rs"
29+
}
30+
},
31+
"topologyType": "ReplicaSetNoPrimary",
32+
"setName": "rs",
33+
"logicalSessionTimeoutMinutes": null,
34+
"compatible": true
35+
}
36+
}
37+
]
38+
}

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

Lines changed: 1 addition & 1 deletion
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)