Skip to content

Bump Cosmos SDK to 3.33.0 and remove PartitionKey.None workaround #1420

@liliankasem

Description

@liliankasem

Bump Cosmos SDK to 3.33.0 and remove PartitionKey.None workaround in the CosmosDBConverter.

// Workaround until bug in Cosmos SDK is fixed
// Currently pending release: https://github.com/Azure/azure-cosmos-dotnet-v3/commit/d6e04a92f8778565eb1d1452738d37c7faf3c47a
QueryRequestOptions queryRequestOptions = new();
if (partitionKey != PartitionKey.None)
{
    queryRequestOptions = new() { PartitionKey = partitionKey };
}

to

QueryRequestOptions queryRequestOptions = new() { PartitionKey = partitionKey };

This is the commit that we are waiting to be released in the Cosmos SDK:

Note to double check which version this release goes into

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions