[BUG][Spring Data Cosmos] PartitionKey of type UUID broken since 3.7.0 #23534
Labels
azure-spring-cosmos
Spring cosmos related issues.
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Describe the bug
This change broke the support for queries with PartitionKey of type UUID.
Exception or Stack Trace
To Reproduce
When you try to query it using
repository.findByPartitionKey(UUID.randomUUID())
you get the above mentioned exception.Additional information
Please note that IDs of type UUID are still not supported by azure-spring-data, which is really sad given the fact that UUIDs are handled as simple Strings in CosmosDB
The text was updated successfully, but these errors were encountered: