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

Fix init bson #43

Merged
merged 9 commits into from
Jun 14, 2021
Merged

Fix init bson #43

merged 9 commits into from
Jun 14, 2021

Conversation

davidlatwe
Copy link
Owner

@davidlatwe davidlatwe commented Jun 14, 2021

This should fix #41.

montydb ships it's own fork of ObjectId in montydb.types so to work without installing pymongo. And if pymongo is installed, it should be using bson.ObjectId class by default setting.

In #41, the bson is installed in environment but montydb still using the forked ObjectId from montydb.types, which is not an expected behavior. (related to #19)

And to be more convenient, montydb forked ObjectId is enabled to compare with bson.ObjectId, see c3525a5.

@davidlatwe davidlatwe merged commit 1e866ed into master Jun 14, 2021
@davidlatwe davidlatwe deleted the fix-init-bson branch June 14, 2021 12:21
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.

Find by ObjectId
1 participant