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

Accept document QueryParameters with uppercase letters #447

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Szeraax
Copy link

@Szeraax Szeraax commented Oct 22, 2021

This PR switches any hashtable keys with upper case letters to be all lowercase letters instead. It also prints a warning to console anytime there are uppercase characters in the hashtable keys.

At present, it does NOT have a unit test for the case matching in Public/Get-CosmosDbDocumentJson, but it does have unit tests for the helper function

Bug Fixes

Fixes #446


This change is Reviewable

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.

Get-CosmosDbDocument -QueryParameters hashtable array is case sensitive
1 participant