Skip to content

Conversation

@pierreMizrahi
Copy link
Contributor

Collection names are allowed to have a '.' in their name, db names aren't (see
https://www.mongodb.com/docs/manual/reference/limits/#naming-restrictions)

This codes changes the logic to extract the collection name form a FullConnecton string by stripping until the first dot, and provides a test case.

Fixes #146

Collection names are allowed to have a '.' in their name, db names aren't (see https://www.mongodb.com/docs/manual/reference/limits/#naming-restrictions) This codes changes the logic to extract the collection name form a FullConnecton string by stripping until the first dot, and provides a test case.
@pierreMizrahi
Copy link
Contributor Author

@VictorDenisov can you please consider this PR ? thanks !

@VictorDenisov
Copy link
Member

Yep. Give me a couple weeks.

@pierreMizrahi
Copy link
Contributor Author

@VictorDenisov can you please take a quick look ?

@VictorDenisov
Copy link
Member

I'm back. Will be reviewing PRs.

@VictorDenisov VictorDenisov merged commit 4a46964 into mongodb-haskell:master Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants