-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Ensure Sync stream serialization is handling IAsyncEnumerable correctly #67035
Ensure Sync stream serialization is handling IAsyncEnumerable correctly #67035
Conversation
Tagging subscribers to this area: @dotnet/area-system-text-json Issue DetailsFix #66687. Also enables small buffer async tests for collections.
|
@@ -25,7 +25,7 @@ public sealed override void Write(Utf8JsonWriter writer, T value, JsonSerializer | |||
// Bridge from resumable to value converters. | |||
|
|||
WriteStack state = default; | |||
state.Initialize(typeof(T), options, supportContinuation: false); | |||
state.Initialize(typeof(T), options, supportContinuation: false, supportAsync: false); |
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.
nit: supportsAsync
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.
Agreed, but in this case it just mimics convention for the existing supportContinuation
parameter. We can rename evertyhing at a future PR.
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.
LGTM thanks
…ly (dotnet#67035) * Fix dotnet#66687 * enable small buffer async tests for collections
Fix #66687. Also enables small buffer async tests for collections.