Skip to content

Commit

Permalink
Explain interaction of fields
Browse files Browse the repository at this point in the history
  • Loading branch information
plcplc committed Jan 31, 2024
1 parent f355a54 commit da3c3f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/connectors/ndc-postgres/src/configuration/version2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ pub struct ConfigureOptions {
#[serde(default)]
// weirdly, we have to use 'skip_serializing_if' rather than 'skip_serializing', since the
// latter causes schemars to consider the field required, in spite of the 'default' attribute.
// If both 'unqualified_schemas' and 'unqualified_schemas_for_tables' are specified,
// 'configure()' will merge them and check for duplicates, returning unly a
// `unqualified_schemas_for_tables' field.
#[serde(skip_serializing_if = "always_skip_unqualified_schemas")]
pub unqualified_schemas: Vec<String>,
/// The names of Tables and Views in these schemas will be returned unqualified.
Expand Down

0 comments on commit da3c3f6

Please sign in to comment.