Skip to content

Commit

Permalink
Revert "Remove dead code in introspection test API"
Browse files Browse the repository at this point in the history
This reverts commit 48e90a1.
  • Loading branch information
aqrln committed Aug 9, 2024
1 parent 0ec17d3 commit 7577f28
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ impl From<IntrospectionResult> for TestMultiResult {
}

pub struct TestApi {
pub connection_string: String,
pub database_name: String,
pub db: Database,
pub features: BitFlags<PreviewFeature>,
pub connector: MongoDbSchemaConnector,
Expand Down Expand Up @@ -120,6 +122,8 @@ where
let connector = MongoDbSchemaConnector::new(params);

let api = TestApi {
connection_string,
database_name,
db: database.clone(),
features: preview_features,
connector,
Expand Down

0 comments on commit 7577f28

Please sign in to comment.