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

MongoDB adapter #398

Open
Totodore opened this issue Nov 21, 2024 · 3 comments
Open

MongoDB adapter #398

Totodore opened this issue Nov 21, 2024 · 3 comments
Assignees
Labels
C-Feature-request Request for a feature E-Hard Call for participation: Experience needed to fix: Hard / a lot P-Medium Medium priority

Comments

@Totodore
Copy link
Owner

This is a tracking issue for a mongodb adapter. Once the async adapter PR is merged (see #395) it will be possible to start working on a mongodb adapter. For the db driver, it seems that the official mongodb driver is the default go to lib: https://lib.rs/crates/mongodb.

@Totodore Totodore assigned Totodore and unassigned Totodore Nov 21, 2024
@torto
Copy link

torto commented Dec 20, 2024

Starting to work on it

@Totodore
Copy link
Owner Author

Totodore commented Dec 20, 2024

Nice, I encourage you to start on the async-adapter branch to get upstream modification on the Adapter interface. Also if there is any blocking point, enhancements you can specify them on the PR #395.

You can also check the redis-adapter branch (#402) to have an implementation example (WIP).

@torto
Copy link

torto commented Dec 20, 2024

I was doing wrong;
I was implementing the traid Adapter in socketioxide::adapter::Adapter. I thought that the LocalAdapter is one of the adapters and we could extend it from there and add the adapter in this function SocketIo::builder().with_adapter<MongoDBAdpter>()
I will follow your RedisAdapter example

@Totodore Totodore added P-Low Low priority E-Hard Call for participation: Experience needed to fix: Hard / a lot C-Feature-request Request for a feature P-Medium Medium priority and removed enhancement P-Low Low priority labels Jan 1, 2025
@Totodore Totodore added this to Roadmap Jan 1, 2025
@Totodore Totodore moved this to Todo in Roadmap Jan 1, 2025
@Totodore Totodore moved this from Todo to In Progress in Roadmap Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Feature-request Request for a feature E-Hard Call for participation: Experience needed to fix: Hard / a lot P-Medium Medium priority
Projects
Status: In Progress
Development

No branches or pull requests

2 participants