Update #1717 to post .NET 10#5528
Draft
lisandroct wants to merge 133 commits into
Draft
Conversation
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`.
…SDK` for Windows builds
- 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
…rsion `25` from `29`
…imental` can install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
Re-implements #1717 on top of latest
masterand .NET 10 support.It adds
IStructuralWritefor 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.Writemethods. In practice, this PR saves us from callingnew 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
Testing