Skip to content

[Internal] Binary Encoding: Fixes Serialization Gaps on Newtonsoft Reader/Writer for Transactional Batch #5030

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

Conversation

kundadebdatta
Copy link
Member

Pull Request Template

Description

This PR fixes the following:

  • Fixes the serialization Gaps on CosmosDBToNewtonsoftReader and CosmosDBToNewtonsoftWriter for byte[] array read and write respectively.

  • Wraps the transactional batch operation result output stream into a CloneableStream to de-serialize accurately, when binary encoding is enabled.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Closing issues

To automatically close an issue: closes #5021

@kundadebdatta kundadebdatta added auto-merge Enables automation to merge PRs BinaryEncoding binary encoding in .NET sdk labels Feb 24, 2025
@kundadebdatta kundadebdatta self-assigned this Feb 24, 2025
Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@sboshra sboshra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@microsoft-github-policy-service microsoft-github-policy-service bot merged commit 4d9da41 into master Feb 27, 2025
26 checks passed
@microsoft-github-policy-service microsoft-github-policy-service bot deleted the users/dkunda/5021_fix_binary_newtonsoft_writer branch February 27, 2025 05:52
kundadebdatta added a commit that referenced this pull request Feb 28, 2025
…ader/Writer for Transactional Batch (#5030)

# Pull Request Template

## Description

This PR fixes the following:

- Fixes the serialization Gaps on `CosmosDBToNewtonsoftReader` and
`CosmosDBToNewtonsoftWriter` for byte[] array read and write
respectively.

- Wraps the transactional batch operation result output stream into a
`CloneableStream` to de-serialize accurately, when binary encoding is
enabled.

## Type of change

Please delete options that are not relevant.

- [x] Bug fix (non-breaking change which fixes an issue)

## Closing issues

To automatically close an issue: closes #5021
microsoft-github-policy-service bot pushed a commit that referenced this pull request Feb 28, 2025
…er/Writer for Transactional Batch (#5041)

# Pull Request Template

## Description

This PR cherry-picks the following commits:

- #5030

## Type of change

Please delete options that are not relevant.

- [x] Bug fix (non-breaking change which fixes an issue)

## Closing issues

To automatically close an issue: closes #IssueNumber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Enables automation to merge PRs BinaryEncoding binary encoding in .NET sdk
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Binary Encoding - Analyze and Fix Existing Serialization Gaps on Newtonsoft Writer for Transactional Batch APIs
5 participants