Cosmos: Modernize materializer & subdocument projectionbinding#38550
Cosmos: Modernize materializer & subdocument projectionbinding#38550JoasE wants to merge 283 commits into
Conversation
This appears to have been be planned by the linux emulator team |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
You can skip these for the Linux emulator for now. But if they say that this is by design we'll have to rethink our approach. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 100 out of 104 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- src/EFCore.Cosmos/Properties/CosmosStrings.Designer.cs: Generated file
Comments suppressed due to low confidence (1)
src/EFCore/Storage/Json/JsonReaderData.cs:89
- In stream mode, the leftover-buffer logic uses
buffer.Lengthrather than_bytesAvailableto determine how much valid data remains aftertotalConsumed. If a stream read returns fewer bytes than the buffer length (common near EOF and possible with non-buffered streams), this will copy uninitialized/stale bytes and overstate_bytesAvailable, corrupting subsequent JSON parsing.
Part of: #34567
Implements: #34067
Fixes: #38138 , #31696