Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
Ported to netstandard
  • Loading branch information
tmm360 committed Dec 24, 2019
1 parent ea27ecb commit a19bd62
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/MongoDM/MongoDM.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RootNamespace>Digicando.MongoDM</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand All @@ -11,13 +11,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DomainHelper" Version="0.18.0" />
<PackageReference Include="Hangfire.Mongo" Version="0.6.5" />
<PackageReference Include="DomainHelper" Version="0.18.1" />
<PackageReference Include="Hangfire.Mongo" Version="0.6.6" />
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.2.0" />
<PackageReference Include="MongoDB.Driver" Version="2.9.2" />
<PackageReference Include="MongoDB.Driver.GridFS" Version="2.9.2" />
<PackageReference Include="morelinq" Version="3.2.0" />
<PackageReference Include="MongoDB.Driver" Version="2.10.0" />
<PackageReference Include="MongoDB.Driver.GridFS" Version="2.10.0" />
<PackageReference Include="morelinq" Version="3.3.1" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/MongoDM/Serialization/DocumentSchemaMemberMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public IEnumerable<EntityMember> MemberPathToId

// Methods.
public string MemberPathToString() =>
string.Join('.', MemberPath.Select(member => member.MemberMap.MemberInfo.Name));
string.Join(".", MemberPath.Select(member => member.MemberMap.MemberInfo.Name));

public string FullPathToString() => $"{RootModelType.Name}.{MemberPathToString()}";

Expand Down
2 changes: 1 addition & 1 deletion src/MongoDM/Utility/DBMaintainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void OnUpdatedModel<TKey>(IAuditable updatedModel, TKey modelId)
foreach (var dependencyGroup in dependencies.GroupBy(d => d.RootModelType))
{
var idPaths = dependencyGroup
.Select(dependency => string.Join('.', dependency.MemberPathToId.Select(member => member.MemberMap.MemberInfo.Name)))
.Select(dependency => string.Join(".", dependency.MemberPathToId.Select(member => member.MemberMap.MemberInfo.Name)))
.Distinct();

// Enqueue call for background job.
Expand Down
4 changes: 2 additions & 2 deletions test/MongoDM.Tests/MongoDM.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<RootNamespace>Digicando.MongoDM</RootNamespace>
Expand All @@ -12,7 +12,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
Expand Down

0 comments on commit a19bd62

Please sign in to comment.