Skip to content

Commit 7f7f2a7

Browse files
author
Bart Koelman
authored
This commit lowers the minimal required EF Core version to 3.1.0 for the JsonApiDotNetCore library, while still using the latest 3.1.x version for the example projects and tests. (#914)
1 parent 85a3236 commit 7f7f2a7

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

src/Examples/JsonApiDotNetCoreExample/JsonApiDotNetCoreExample.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
</ItemGroup>
99

1010
<ItemGroup>
11+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EFCoreVersion)" />
1112
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="$(NpgsqlPostgreSQLVersion)" />
1213
</ItemGroup>
1314
</Project>

src/Examples/NoEntityFrameworkExample/NoEntityFrameworkExample.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
<ItemGroup>
1111
<PackageReference Include="Dapper" Version="2.0.78" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EFCoreVersion)" />
1213
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="$(NpgsqlPostgreSQLVersion)" />
1314
</ItemGroup>
1415
</Project>

src/Examples/ReportsExample/ReportsExample.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
</ItemGroup>
99

1010
<ItemGroup>
11+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EFCoreVersion)" />
1112
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="$(NpgsqlPostgreSQLVersion)" />
1213
</ItemGroup>
1314
</Project>

src/JsonApiDotNetCore/JsonApiDotNetCore.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<ItemGroup>
2424
<PackageReference Include="Ben.Demystifier" Version="0.1.6" />
2525
<PackageReference Include="Humanizer" Version="2.8.26" />
26-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EFCoreVersion)" />
26+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.0" />
2727
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
2828
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
2929
<PackageReference Include="System.ValueTuple" Version="4.5.0" />

0 commit comments

Comments
 (0)