Skip to content
Permalink
Browse files

Merge pull request #95 from TurnerSoftware/dependabot/nuget/MongoDB.D…

…river-2.9.1

Bump MongoDB.Driver from 2.8.1 to 2.9.1
  • Loading branch information...
Turnerj committed Sep 11, 2019
2 parents 7a55b35 + 26b4acf commit b9e8b507cc4e074b4863f7cefa594f7cf044f3bd
@@ -18,7 +18,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MongoDB.Driver" Version="2.8.1" />
<PackageReference Include="MongoDB.Driver" Version="2.9.1" />
<PackageReference Include="System.ComponentModel.Annotations" Version="4.5.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
</ItemGroup>
@@ -30,7 +30,7 @@ private BsonDocument RenderDefinition<TEntity>(UpdateDefinition<TEntity> definit
{
var serializerRegistry = BsonSerializer.SerializerRegistry;
var documentSerializer = serializerRegistry.GetSerializer<TEntity>();
return definition.Render(documentSerializer, serializerRegistry);
return definition.Render(documentSerializer, serializerRegistry).AsBsonDocument;
}

[TestMethod]

0 comments on commit b9e8b50

Please sign in to comment.
You can’t perform that action at this time.