I’ve gone through all the threads, including the linked one (which I actually had already researched beforehand), but as for the code I posted, I am already doing what it was supposed to be done, according to the threads info.
The useUnifiedTopology: true option is being passed to the MongoClient, not to the client.connect.
The used packages, as well as the MongoDB itself, are up to date. Maybe I’m missing something, but I could not find a solution for this warning in those threads. Would you recommend any step further?
I truly appreciate the help and attention.