mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-11 02:00:04 -04:00
d87e49487b
This is the implementation of a fix for #4425 # Description of Changes * Clarified C# generator diagnostics for view return types: 1. Updated the comments around `IQuery<T>` handling to describe the return value as `T?`, matching C# semantics. 2. Adjusted the validation comment to say views must return `List<T>` or nullable `T` instead of “Vec/Option”. * Synced the diagnostics fixture comments with the new terminology so STDB0024 examples talk about `List<T>`/`T?`. * Checked current documentation for anything C# related to “Vec/Option” and confirmed everything now references `List<T>`/`T?`. * Regenerated/verified tests and snapshots. # API and ABI breaking changes None # Expected complexity level and risk 1 - Changes are documentation and diagnostic-comment only. # Testing - [X] CLI rebuilt, local `dotnet test` pass and error output tests validated. --------- Signed-off-by: Ryan <r.ekhoff@clockworklabs.io> Co-authored-by: joshua-spacetime <josh@clockworklabs.io>