Open YohanSciubukgian opened 4 years ago
The AzureCosmosDbV3Connector should be registered as a Singleton on a real project usage. The Dictionary will do a cache-aside on the Container object to avoid creating the object for each operation.
This should use a ConcurrentDictionary (and using GetValueElseAdd will make the code cleaner)
The AzureCosmosDbV3Connector should be registered as a Singleton on a real project usage. The Dictionary will do a cache-aside on the Container object to avoid creating the object for each operation.