Skip to content

Commit

Permalink
Merge pull request #1162 from Lorak-mmk/remove-missing-udt-error
Browse files Browse the repository at this point in the history
Remove MissingUserDefinedType from public API
  • Loading branch information
Lorak-mmk authored Jan 22, 2025
2 parents fde9669 + 800aabc commit 4a9367c
Show file tree
Hide file tree
Showing 8 changed files with 300 additions and 125 deletions.
8 changes: 4 additions & 4 deletions scylla/src/client/session_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1474,7 +1474,7 @@ fn udt_type_c_def(ks: &str) -> Arc<UserDefinedType> {
}),
Box::new(CqlType::UserDefinedType {
frozen: true,
definition: Ok(udt_type_b_def(ks)),
definition: udt_type_b_def(ks),
}),
),
},
Expand Down Expand Up @@ -1565,7 +1565,7 @@ async fn test_schema_types_in_metadata() {
a.type_,
CqlType::UserDefinedType {
frozen: true,
definition: Ok(udt_type_a_def(&ks)),
definition: udt_type_a_def(&ks),
}
);

Expand All @@ -1575,7 +1575,7 @@ async fn test_schema_types_in_metadata() {
b.type_,
CqlType::UserDefinedType {
frozen: false,
definition: Ok(udt_type_b_def(&ks)),
definition: udt_type_b_def(&ks),
}
);

Expand All @@ -1585,7 +1585,7 @@ async fn test_schema_types_in_metadata() {
c.type_,
CqlType::UserDefinedType {
frozen: true,
definition: Ok(udt_type_c_def(&ks))
definition: udt_type_c_def(&ks)
}
);

Expand Down
Loading

0 comments on commit 4a9367c

Please sign in to comment.