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

Validate keys before persisting items in Azure CosmosDB key-value store #3054

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ThorstenHans
Copy link
Contributor

This PR updates the key-value store implementation for Azure CosmosDB only.

When calling set, the specified key is validated according to the Azure SDK documentation (https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.documents.resource.id?view=azure-dotnet#remarks).

If the key contains an invalid char, the operation is terminated early and a corresponding error is returned.

  • passed cargo build
  • passed cargo fmt
  • passed cargo clippy
  • passed make lint
  • passed make test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants