PlagueHO / CosmosDB

PowerShell Module for working with Azure Cosmos DB databases, collections, documents, attachments, offers, users, permissions, triggers, stored procedures and user defined functions.
http://dscottraynsford.com
MIT License
152 stars 46 forks source link

Accept document QueryParameters with uppercase letters #447

Open Szeraax opened 2 years ago

Szeraax commented 2 years ago

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