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
exports[`connection string parser Should throw on invalid strings esbd+discovery://localhost 1`] =`"Unexpected \\"esbd+discovery://\\" at position 0, expected esdb://or esdb+discover://."`;
3
+
exports[`connection string parser Should throw on invalid strings esbd+discovery://localhost 1`] =`"Unexpected \\"esbd+discovery://\\" at position 0, expected esdb://, esdb+discover://, kurrent://, kurrent+discover://, kdb://, or kdb+discover://."`;
4
4
5
-
exports[`connection string parser Should throw on invalid strings esdb://host1,host2:200:300?throwOnAppendFailure=false 1`] =`"Unexpected \\":300\\" at position 22, expected , or ?key=value."`;
5
+
exports[`connection string parser Should throw on invalid strings https://console.eventstore.cloud/ 1`] =`"Unexpected \\"https://\\" at position 0, expected esdb://, esdb+discover://, kurrent://, kurrent+discover://, kdb://, or kdb+discover://."`;
6
6
7
-
exports[`connection string parser Should throw on invalid strings esdb://host1;host2;host3?throwOnAppendFailure=false 1`] =`"Unexpected \\";\\" at position 12, expected ?key=value."`;
7
+
exports[`connection string parser Should throw on invalid strings kurrent://host1,host2:200:300?throwOnAppendFailure=false 1`] =`"Unexpected \\":300\\" at position 25, expected , or ?key=value."`;
8
8
9
-
exports[`connection string parser Should throw on invalid strings esdb://localhost/&throwOnAppendFailure=false 1`] =`"Unexpected \\"&\\" at position 17, expected ?key=value."`;
9
+
exports[`connection string parser Should throw on invalid strings kurrent://host1;host2;host3?throwOnAppendFailure=false 1`] =`"Unexpected \\";\\" at position 15, expected ?key=value."`;
10
10
11
-
exports[`connection string parser Should throw on invalid strings esdb://localhost?keepAliveInterval=XXIV 1`] =`"Unexpected \\"XXIV\\" at position 35, expected Integer."`;
11
+
exports[`connection string parser Should throw on invalid strings kurrent://localhost/&throwOnAppendFailure=false 1`] =`"Unexpected \\"&\\" at position 20, expected ?key=value."`;
12
12
13
-
exports[`connection string parser Should throw on invalid strings esdb://localhost?keepAliveTimeout=please 1`] =`"Unexpected \\"please\\" at position 34, expected Integer."`;
13
+
exports[`connection string parser Should throw on invalid strings kurrent://localhost?keepAliveInterval=XXIV 1`] =`"Unexpected \\"XXIV\\" at position 38, expected Integer."`;
14
14
15
-
exports[`connection string parser Should throw on invalid strings esdb://localhost?throwOnAppendFailure=false&nodePreference=any 1`] =`"Unexpected \\"any\\" at position 59, expected leader or follower or read_only_replica or random."`;
15
+
exports[`connection string parser Should throw on invalid strings kurrent://localhost?keepAliveTimeout=please 1`] =`"Unexpected \\"please\\" at position 37, expected Integer."`;
16
16
17
-
exports[`connection string parser Should throw on invalid strings esdb://localhost?throwOnAppendFailure=false?nodePreference=follower 1`] =`"Unexpected \\"?\\" at position 43, expected &key=value."`;
17
+
exports[`connection string parser Should throw on invalid strings kurrent://localhost?throwOnAppendFailure=false&nodePreference=any 1`] =`"Unexpected \\"any\\" at position 62, expected leader or follower or read_only_replica or random."`;
18
18
19
-
exports[`connection string parser Should throw on invalid strings esdb://localhost?throwOnAppendFailure=if you feel like it 1`] =`"Unexpected \\"if you feel like it\\" at position 38, expected true or false."`;
19
+
exports[`connection string parser Should throw on invalid strings kurrent://localhost?throwOnAppendFailure=false?nodePreference=follower 1`] =`"Unexpected \\"?\\" at position 46, expected &key=value."`;
20
20
21
-
exports[`connection string parser Should throw on invalid strings esdb://localhost?throwOnAppendFailure=sometimes 1`] =`"Unexpected \\"sometimes\\" at position 38, expected true or false."`;
21
+
exports[`connection string parser Should throw on invalid strings kurrent://localhost?throwOnAppendFailure=if you feel like it 1`] =`"Unexpected \\"if you feel like it\\" at position 41, expected true or false."`;
22
22
23
-
exports[`connection string parser Should throw on invalid strings esdb://my:great@username:UyeXx8$^PsOo4jG88FlCauR1Coz25q@host?nodePreference=follower&throwOnAppendFailure=false 1`] =`"Unexpected \\"UyeXx8\\" at position 25, expected port number."`;
23
+
exports[`connection string parser Should throw on invalid strings kurrent://localhost?throwOnAppendFailure=sometimes 1`] =`"Unexpected \\"sometimes\\" at position 41, expected true or false."`;
24
24
25
-
exports[`connection string parser Should throw on invalid strings esdb://throwOnAppendFailure=false 1`] =`"Unexpected \\"=\\" at position 27, expected ?key=value."`;
25
+
exports[`connection string parser Should throw on invalid strings kurrent://my:great@username:UyeXx8$^PsOo4jG88FlCauR1Coz25q@host?nodePreference=follower&throwOnAppendFailure=false 1`] =`"Unexpected \\"UyeXx8\\" at position 28, expected port number."`;
26
26
27
-
exports[`connection string parser Should throw on invalid strings https://console.eventstore.cloud/ 1`] =`"Unexpected \\"https://\\" at position 0, expected esdb:// or esdb+discover://."`;
27
+
exports[`connection string parser Should throw on invalid strings kurrent://throwOnAppendFailure=false 1`] =`"Unexpected \\"=\\" at position 30, expected ?key=value."`;
28
28
29
-
exports[`connection string parser Should throw on invalid strings localhost 1`] =`"Unexpected \\"l\\" at position 0, expected esdb://or esdb+discover://."`;
29
+
exports[`connection string parser Should throw on invalid strings localhost 1`] =`"Unexpected \\"l\\" at position 0, expected esdb://, esdb+discover://, kurrent://, kurrent+discover://, kdb://, or kdb+discover://."`;
30
30
31
31
exports[`connection string parser Should warn on unknown and unsupported keys esdb://localhost?catchOnAppendFailure=true&throwOnAppendFailure=false 1`] =`
32
32
Array [
33
+
Array [
34
+
"The 'esdb' protocol is deprecated. Please use 'kurrent' or 'kdb' instead.",
35
+
],
33
36
Array [
34
37
"Unknown option key \\"catchOnAppendFailure\\", setting will be ignored.
exports[`connection string parser Should warn on unknown and unsupported keys esdb://localhost?someNonsense=follower&doTheThing=true 1`] =`
44
+
exports[`connection string parser Should warn on unknown and unsupported keys kurrent://localhost?catchOnAppendFailure=true&throwOnAppendFailure=false 1`] =`
45
+
Array [
46
+
Array [
47
+
"Unknown option key \\"catchOnAppendFailure\\", setting will be ignored.
0 commit comments