From 2dc8eb3e98e86291cfecf98d03220d1be13a2427 Mon Sep 17 00:00:00 2001 From: Gabriel Grubba <70247653+Grubba27@users.noreply.github.com> Date: Mon, 29 Aug 2022 16:46:41 -0300 Subject: [PATCH] chore: migration guide updated to 2.8 --- guide/source/2.8-migration.md | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/guide/source/2.8-migration.md b/guide/source/2.8-migration.md index a788a04eed..ae66e3c94d 100644 --- a/guide/source/2.8-migration.md +++ b/guide/source/2.8-migration.md @@ -36,33 +36,10 @@ Here are the newly added methods (you can see this description and the code [her ```js for await (const document of collection.find(query, options)) /* ... */ ``` -**A few internal methods are now async.** - - - These are: `MongoConnection` (constructor), `MongoInternals.RemoteCollectionDriver` (constructor), `MongoInternals.defaultRemoteCollectionDriver`, `OplogHandle` (constructor). - -Adding these async counterparts allows gradual migration, as both versions will coexist for the time being. At the moment, all async methods are calling sync one directly, so all hooks and wrappers should work as expected.