Injecting Mongoose and Effect Services in NestJS with EffectTS

Hello everyone! i'm incrementally migrating a NestJS project to adopt EffectTS. Is there any way to inject the Mongoose instance as a dependency to a Service? I can't find any documentation on the subject and there's not a lot of code snippets of people using MongoDB with Effect
What would be the idiomatic way of doing it?

Also, is it possible to @Inject an Effect Service as a NestJS provider? I made an attempt but it doesn't work
Was this page helpful?