Skip to content
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

New-CosmosDbDocument does not allow unspecified partition key #412

Open
alexeymarkov opened this issue May 6, 2021 · 0 comments
Open

New-CosmosDbDocument does not allow unspecified partition key #412

alexeymarkov opened this issue May 6, 2021 · 0 comments
Labels
needs investigation The issue needs to be investigated by the maintainers or/and the community.

Comments

@alexeymarkov
Copy link

I have a collection where partition key is not really/always used. Some documents do not have partition key value.
But New-CosmosDbDocument does not allow to create documents without specifying a fake value as partition key.
The function does not produce x-ms-documentdb-partitionkey as [{}] which would mean "no partition key".

@PlagueHO PlagueHO added the needs investigation The issue needs to be investigated by the maintainers or/and the community. label May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation The issue needs to be investigated by the maintainers or/and the community.
Projects
None yet
Development

No branches or pull requests

2 participants