- 
                Notifications
    
You must be signed in to change notification settings  - Fork 318
 
Add support for undefined partition keys in Cosmos DB #3075
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: analogrelay <7574+analogrelay@users.noreply.github.com>
undefined Partition Key| ### Features Added | ||
| 
               | 
          ||
| * Added `Query::with_text()` and `Query::append_text()` methods to modify query text after creation ([#3044](https://github.com/Azure/azure-sdk-for-rust/pull/3044)) | ||
| * Added `PartitionKey::UNDEFINED` constant to represent partition keys for items with no partition key property | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot update this with the PR number and link now that we have it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: analogrelay <7574+analogrelay@users.noreply.github.com>
| 
           Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
 If you need me to access, download, or install something from one of these locations, you can either: 
  | 
    
Undefinedvariant toInnerPartitionKeyValueenumUNDEFINEDtoPartitionKeystructAsHeadersimplementation to serialize undefined as{}undefined_valueto validate undefined partition keytupletest to include undefined valueOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.