From dbb27aad39683b8f190369ba1d5f6e364178ae10 Mon Sep 17 00:00:00 2001 From: Alexandre SPIESER Date: Wed, 22 Apr 2020 19:18:18 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f98d1d4..243c8fd 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Covered by 400+ integration tests and counting. The MongoDbGenericRepository is also used in [AspNetCore.Identity.MongoDbCore](https://github.com/alexandre-spieser/AspNetCore.Identity.MongoDbCore). -This package sets the MongoDefaults.GuidRepresentation to `MongoDB.Bson.GuidRepresentation.Standard` by default, instead of the default driver setting of `MongoDB.Bson.GuidRepresentation.CSharpLegacy`. +This package sets the `MongoDefaults.GuidRepresentation` to `MongoDB.Bson.GuidRepresentation.Standard` by default, instead of the default driver setting of `MongoDB.Bson.GuidRepresentation.CSharpLegacy`. This can cause issues if you have been using the driver on an existing application previously or if you are using CosmosDB. You can override this behaviour to enforce legacy behaviour in your app Startup routing like so :