When using CosmosPartitionKey attribute on integer type throws exception during upsert. But works fine when the type is string. Not sure if it is an issue in cosmonaut!
Exception:
Microsoft.Azure.Documents.DocumentClientException : Message: {"Errors":["PartitionKey extracted from document doesn't match the one specified in the header"]}
When using CosmosPartitionKey attribute on integer type throws exception during upsert. But works fine when the type is string. Not sure if it is an issue in cosmonaut!
Exception: Microsoft.Azure.Documents.DocumentClientException : Message: {"Errors":["PartitionKey extracted from document doesn't match the one specified in the header"]}