Skip to content

Commit

Permalink
Remove v2 MongoDriver (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle authored Jun 24, 2023
2 parents 2ecf31b + f1d311c commit 8c44a14
Show file tree
Hide file tree
Showing 26 changed files with 14 additions and 1,927 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ static <RR extends Entity> MongoDriverFactory<RR> factory(
) {
switch (driverSettings.experimental().implementationKind()) {
case RESILIENT:
return (b, d) -> new io.vena.bosk.drivers.mongo.v2.MainDriver<>(b, clientSettings, driverSettings, bsonPlugin, d);
case RESILIENT3:
return (b, d) -> new MainDriver<>(b, clientSettings, driverSettings, bsonPlugin, d);
default:
return (b, d) -> new SingleDocumentMongoDriver<>(b, clientSettings, driverSettings, bsonPlugin, d);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public enum ImplementationKind {
* Ignores {@link FlushMode FlushMode}; only supports the equivalent of {@link FlushMode#REVISION_FIELD_ONLY REVISION_FIELD_ONLY}.
*/
RESILIENT,
RESILIENT3,
}

public enum DatabaseFormat {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8c44a14

Please sign in to comment.