-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
c# client generate #1707
c# client generate #1707
Conversation
FWIW I'm going to review this one in more detail after the runtime counterpart. |
a43929e
to
b355fe5
Compare
...es/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/ExtraCompilationErrors.verified.txt
Outdated
Show resolved
Hide resolved
321d801
to
c761d5a
Compare
77afbc4
to
45961e1
Compare
@lcodes I always wanted to remove that |
In a scenario like this: internal static partial class Outer
{
[SpacetimeDB.Table]
public partial struct InnerTable
{
public string Name;
}
} we will currently generate an ITableView implementation with
We should instead generate it as an |
Also mentioned this before, but right now Could you please convert those to 2 new diagnostics with location context attached? |
crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module#FFI.verified.cs
Outdated
Show resolved
Hide resolved
crates/bindings-csharp/Codegen.Tests/fixtures/server/snapshots/Module#MultiTableRow.verified.cs
Show resolved
Hide resolved
...ndings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module#TestAutoIncNotInteger.verified.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not done a code review on this but I've tested it against circle game and it works.
Rust side generating module bindings for clockworklabs/com.clockworklabs.spacetimedbsdk#131