[Docs] [C#] Update docs with List<T> returns and IEnumerable<T> tests#4392
Open
[Docs] [C#] Update docs with List<T> returns and IEnumerable<T> tests#4392
List<T> returns and IEnumerable<T> tests#4392Conversation
Collaborator
|
Is this change still applicable? #4393 removes |
Collaborator
|
We should remove any references to |
docs/docs/00200-core-concepts/00100-databases/00500-cheat-sheet.md
Outdated
Show resolved
Hide resolved
Query and Build()List<T> returns and IEnumerable<T> tests
JasonAtClockwork
approved these changes
Feb 23, 2026
Contributor
JasonAtClockwork
left a comment
There was a problem hiding this comment.
Looks good to me!
...es/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/ExtraCompilationErrors.verified.txt
Outdated
Show resolved
Hide resolved
crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module.verified.txt
Show resolved
Hide resolved
crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module.verified.txt
Show resolved
Hide resolved
joshua-spacetime
approved these changes
Feb 25, 2026
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
00500-views.mdwith:public partial class Moduleso pasting it in to IDE will not return errors.00500-cheat-sheet.mdwith:Onto avoid errorSTDB0010: Reducer method OnConnect starts with 'On', which is a reserved prefix.Accessorvalues to views.Filter()returned value to use.ToList()and the return type to useList<Player>rather thanIEnumerable<Player>to avoid error, due to needing a return type to beVec<T>orOption<T>.Coddgen.Testto include tests verifying current behavior ofIEnumerable<T>, to aid in future update to allow a return type ofIEnumerable<T>to be allowed and converted internally to the required type.API and ABI breaking changes
None
Expected complexity level and risk
1 – documentation-only edits with no behavioral impact.
Testing