Skip to content

Update #1717 to post .NET 10#5528

Draft
lisandroct wants to merge 133 commits into
masterfrom
lisandro/update-1717
Draft

Update #1717 to post .NET 10#5528
lisandroct wants to merge 133 commits into
masterfrom
lisandro/update-1717

Conversation

@lisandroct

Copy link
Copy Markdown
Contributor

Description of Changes

Re-implements #1717 on top of latest master and .NET 10 support.

It adds IStructuralWrite for types that only need to be able to serialize themselves (in particular tagged enums). It cleans up things a little and models a real distinction between those types that can read and write themselves and those which can write only.

That being said, it also adds complexity and we're currently working around the "lack of" a write method by accessing the BSATN.Write methods. In practice, this PR saves us from calling new X.BSATN().Write(...).

I'm not sure what the initial intent of Ingvar was and if this was preparing the grounds for something else. If all we'll achieve is avoid some calls to BSATN.Write, I don't think I would move forward with this one.

API and ABI breaking changes

No breaking changes.

Expected complexity level and risk

  1. Not really risky.

Testing

  • All tests are still passing. No new functionality has been added.

JasonAtClockwork and others added 30 commits April 21, 2026 16:34
1) Created exception to `check_global_json_policy` to allow for .NET 8 templates to be generated.
2) Removed .NET 10 DLLs from SDK to prevent Unity issue.
3) Updated NativeAOT smoketest test include `packageSourceMapping` in `NuGet.Config`.
- Add --dotnet-version flag to build/publish/init commands for explicit .NET version control
- Fix smoketests to use local SpacetimeDB.Runtime/BSATN.Runtime packages (not public NuGet)
- Fix CLI binary path detection for debug vs release builds
- Add NativeAOT-LLVM output paths (native/ subdirectory) to csharp.rs
- Force .NET 8 for C# templates in template tests to match template TFM
@lisandroct lisandroct marked this pull request as draft July 13, 2026 14:01
@lisandroct lisandroct changed the title Lisandro/update 1717 Update #1717 to post .NET 10 Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants