micronaut-mongodb icon indicating copy to clipboard operation
micronaut-mongodb copied to clipboard

Kotlin coroutines driver

Open nenros opened this issue 1 year ago • 2 comments

HI! I was thinking about preparing mongo ocnnection with kotlin coroutine. And I found some issues:

  • Mongo client is final:
error: Cannot apply AOP advice to final class. Class must be made non-final to support proxying: com.mongodb.kotlin.client.coroutine.MongoClient
  • Health indicator code

I guess that both problems i wouldresolve with moving code to kotlin, is it allowed? Maybe you know better solution?

nenros avatar Jan 11 '24 23:01 nenros

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jan 11 '24 23:01 CLAassistant

I guess the mongo client for Kotlin can't be made refreshable, but that isn't necessarily a problem. Sorry for the late reply this would slip through the cracks

graemerocher avatar Jun 01 '24 11:06 graemerocher