File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
configuration/src/version5
connectors/ndc-postgres/src Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ impl DatabaseConnectionSettings {
45
45
pub enum DynamicConnectionSettings {
46
46
Named {
47
47
connection_uris : ConnectionUris ,
48
- /// When set to true, fallback to using the connectionUri if the connectionName request argument is missing
48
+ /// When set to true, fallback to using the connectionUri if the connection_name request argument is missing
49
49
/// If this is not set, the connectionUri is not used at runtime, but will still be used by cli utilities
50
50
#[ serde( default ) ]
51
51
fallback_to_static : bool ,
@@ -55,6 +55,9 @@ pub enum DynamicConnectionSettings {
55
55
eager_connections : bool ,
56
56
} ,
57
57
Dynamic {
58
+ /// When set to true, fallback to using the connectionUri if the connection_string request argument is missing
59
+ /// If this is not set, the connectionUri is not used at runtime, but will still be used by cli utilities
60
+ #[ serde( default ) ]
58
61
fallback_to_static : bool ,
59
62
} ,
60
63
}
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ use ndc_postgres_configuration::PoolSettings;
23
23
use query_engine_execution:: database_info:: { self , DatabaseInfo , DatabaseVersion } ;
24
24
use query_engine_execution:: metrics;
25
25
26
- const CONNECTION_NAME_ARGUMENT : & str = "connectionName " ;
27
- const CONNECTION_STRING_ARGUMENT : & str = "connectionString " ;
26
+ const CONNECTION_NAME_ARGUMENT : & str = "connection_name " ;
27
+ const CONNECTION_STRING_ARGUMENT : & str = "connection_string " ;
28
28
29
29
/// State for our connector.
30
30
#[ derive( Debug ) ]
You can’t perform that action at this time.
0 commit comments