Skip to content

Commit

Permalink
Rename test type
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Sep 30, 2024
1 parent af7cde1 commit de5fa2a
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 82 deletions.
4 changes: 2 additions & 2 deletions crates/bindings-csharp/Codegen.Tests/fixtures/server/Lib.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public static void Init(ReducerContext ctx)

[Table(Name = "MultiTable1", Public = true)]
[Table(Name = "MultiTable2")]
public partial struct MultiTable
public partial struct MultiTableRow
{
public string Name;

Expand All @@ -158,7 +158,7 @@ public partial struct MultiTable
public uint Bar;

[SpacetimeDB.Reducer]
public static void InsertMultiData(ReducerContext ctx, MultiTable data)
public static void InsertMultiData(ReducerContext ctx, MultiTableRow data)
{
// Verify that we have both tables generated on the context.
ctx.Db.MultiTable1.Insert(data);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit de5fa2a

Please sign in to comment.