Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pranshi06 committed Apr 30, 2024
1 parent 5a23da7 commit 7c09e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

- Initial release with support of ndc-spec v0.1.2 (beta)
- Support for CLI plugin for Hasura v3 CLI, which allows the CLI to
automatically introspect the database on demand.
introspect the database on demand.
- Query explain endpoint has been changed from `/explain` to `/query/explain`.
- The default port was changed from 8100 to 8080.

Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ async fn update_uri_from_context(context: &Context) -> anyhow::Result<()> {
read_config_file_contents(&configuration_file_path).await?;
serde_json::from_str(&configuration_file_contents)?
};
if input == ndc_sqlserver::configuration::RawConfiguration::empty() {
if input.mssql_connection_string.is_empty() {
if let Some(uri) = &context.uri {
input.mssql_connection_string = uri.clone();
} else {
Expand Down

0 comments on commit 7c09e64

Please sign in to comment.