tracerr | Golang errors with stack trace and source fragments | Architecture library
kandi X-RAY | tracerr Summary
kandi X-RAY | tracerr Summary
Golang errors with stack trace and source fragments.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tracerr
tracerr Key Features
tracerr Examples and Code Snippets
Community Discussions
Trending Discussions on tracerr
QUESTION
I'm trying to use golang to do CURD operation in Azure Cosmos db using github.com/vippsas/go-cosmosdb package.
Everything works fine except trying to Create、Replace documents with chinese character in the x-ms-documentdb-partitionkey.
Document sample data, partition key is /method
...ANSWER
Answered 2021-Jun-15 at 09:35Azure Cosmos db is only supporting Unicode or ASCII in x-ms-documentdb-partitionkey while github.com/vippsas/go-cosmosdb package is using json.Marshal which internally transforms Unicode to Chinese characters automatically.
The only way to solve it is using English as partition key when creating documents.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tracerr
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page