Skip to content

Commit 4fa1f58

Browse files
committed
bindings-csharp: bless Module*.verified
1 parent 2cf85b9 commit 4fa1f58

File tree

2 files changed

+24
-18
lines changed

2 files changed

+24
-18
lines changed

crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module#FFI.verified.cs

+23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module.verified.txt

+1-18
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,6 @@
5252
}
5353
},
5454
{/*
55-
[PrimaryKey]
56-
public TestEnumWithExplicitValues PrimaryKeyField;
57-
^^^^^^^^^^^^^^^
58-
}
59-
*/
60-
Message: Field PrimaryKeyField is marked as Unique but it has a type TestEnumWithExplicitValues which is not an equatable primitive.,
61-
Severity: Error,
62-
Descriptor: {
63-
Id: STDB0003,
64-
Title: Unique fields must be equatable,
65-
MessageFormat: Field {0} is marked as Unique but it has a type {1} which is not an equatable primitive.,
66-
Category: SpacetimeDB,
67-
DefaultSeverity: Error,
68-
IsEnabledByDefault: true
69-
}
70-
},
71-
{/*
7255
[SpacetimeDB.Table]
7356
public partial record TestTableTaggedEnum : SpacetimeDB.TaggedEnum<(int X, int Y)> { }
7457
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -429,4 +412,4 @@ public partial struct TestScheduleIssues
429412
}
430413
}
431414
]
432-
}
415+
}

0 commit comments

Comments
 (0)