Skip to content

Conversation

@MattHartz
Copy link
Contributor

When using AddCosmosRepositoryClient, options and clientOptions successfully process when using a connection string. But when a named connection string that represents the "AccountEndpoint", options' action successfully processes it as an AccountEndpoint that will use DefaultCredential but IsEmulatorConnectionString throws an exception when creating the DbConnectionStringBuilder

When using AddCosmosRepositoryClient, options and clientOptions successfully process when using a connection string. But when a named connection string that represents the "AccountEndpoint", options' action successfully processes it as an AccountEndpoint that will use DefaultCredential but  IsEmulatorConnectionString throws an exception when creating the DbConnectionStringBuilder
@MattHartz
Copy link
Contributor Author

Small issue I noticed when playing around test containers. Works just great when using a locally running emulator, but when I specify a cloud cosmos, via just the URI, it would throw exceptions. I found that the culprit it the string extensions method.

@MattHartz
Copy link
Contributor Author

Let me know if ya'll need anything from me @IEvangelist @mumby0168

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