Skip to content

Commit 5fce21c

Browse files
ignore views for ensure_same_schema tests
1 parent 2c4343a commit 5fce21c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

crates/schema/tests/ensure_same_schema.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ fn assert_identical_modules(module_name_prefix: &str, lang_name: &str, suffix: &
2828
)
2929
});
3030

31+
// TODO: Remove this once we have view bindings for C# and TypeScript
32+
diff.retain(|step| {
33+
!matches!(
34+
step,
35+
AutoMigrateStep::AddView(_) | AutoMigrateStep::RemoveView(_) | AutoMigrateStep::UpdateView(_)
36+
)
37+
});
38+
3139
assert!(
3240
diff.is_empty(),
3341
"Rust and {lang_name} modules are not identical. Here are the steps to migrate from {lang_name} to Rust: {diff:#?}"

0 commit comments

Comments
 (0)