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

The get function in the mongoldb adapter is always expecting an ObjectId primitive #10

Open
sagojez opened this issue Apr 22, 2022 · 0 comments

Comments

@sagojez
Copy link

sagojez commented Apr 22, 2022

I find myself more often than not deciding the id in my mongo databases. They're often strings but with the adapter it seems there's no way to fetch using a string as an id because it always expects a ObjectId primitive.

Is there any workaround for this?

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

No branches or pull requests

1 participant