You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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).
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
Activity
torto commentedon Dec 20, 2024
Starting to work on it
Totodore commentedon Dec 20, 2024
Nice, I encourage you to start on the
async-adapterbranch 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-adapterbranch (#402) to have an implementation example (WIP).torto commentedon Dec 20, 2024
I was doing wrong;
I was implementing the traid Adapter in
socketioxide::adapter::Adapter. I thought that theLocalAdapteris one of the adapters and we could extend it from there and add the adapter in this functionSocketIo::builder().with_adapter<MongoDBAdpter>()I will follow your RedisAdapter example