2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-26 21:13:13 +00:00

Source Generation

This commit is contained in:
2021-05-17 05:34:09 +03:00
parent 5bf258673d
commit c8683e17e9
16 changed files with 148 additions and 57 deletions

View File

@ -11,13 +11,13 @@
<PackageProjectUrl>http://www.esiur.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/esiur/esiur-dotnet/</RepositoryUrl>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>1.4.1</Version>
<Version>1.5.0</Version>
<PackageId>Esiur.Stores.MongoDB</PackageId>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MongoDB.Bson" Version="2.9.1" />
<PackageReference Include="MongoDB.Driver" Version="2.9.1" />
<PackageReference Include="MongoDB.Bson" Version="2.12.3" />
<PackageReference Include="MongoDB.Driver" Version="2.12.3" />
</ItemGroup>
<ItemGroup>

View File

@ -159,7 +159,7 @@ namespace Esiur.Stores.MongoDB
resources.Add(id, new WeakReference(resource));
//@TODO this causes store.put to be invoked, need fix
await Warehouse.Put(resource, document["name"].AsString, this);
await Warehouse.Put(document["name"].AsString, resource, this);
var parents = document["parents"].AsBsonArray;