File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
src/JsonApiDotNetCore/Configuration Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 22 <PropertyGroup >
33 <TargetFrameworkName >net6.0</TargetFrameworkName >
44 <AspNetVersion >6.0.*</AspNetVersion >
5- <EFCoreVersion >6.0.1 </EFCoreVersion >
5+ <EFCoreVersion >6.0.* </EFCoreVersion >
66 <EFCorePostgresVersion >6.0.*</EFCorePostgresVersion >
7- <MicrosoftCodeAnalysisVersion >4.*</MicrosoftCodeAnalysisVersion >
7+ <MicrosoftCodeAnalysisVersion >4.0. *</MicrosoftCodeAnalysisVersion >
88 <HumanizerVersion >2.*</HumanizerVersion >
99 <JsonApiDotNetCoreVersionPrefix >5.0.0</JsonApiDotNetCoreVersionPrefix >
1010 <CodeAnalysisRuleSet >$(MSBuildThisFileDirectory)CodingGuidelines.ruleset</CodeAnalysisRuleSet >
2929
3030 <!-- Test Project Dependencies -->
3131 <PropertyGroup >
32- <CoverletVersion >3.1.0 </CoverletVersion >
32+ <CoverletVersion >3.1.2 </CoverletVersion >
3333 <MoqVersion >4.16.1</MoqVersion >
34- <TestSdkVersion >17.0 .0</TestSdkVersion >
34+ <TestSdkVersion >17.1 .0</TestSdkVersion >
3535 </PropertyGroup >
3636</Project >
Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ public sealed class JsonApiOptions : IJsonApiOptions
102102 }
103103 } ;
104104
105+ static JsonApiOptions ( )
106+ {
107+ // Bug workaround for https://github.com/dotnet/efcore/issues/27436
108+ AppContext . SetSwitch ( "Microsoft.EntityFrameworkCore.Issue26779" , true ) ;
109+ }
110+
105111 public JsonApiOptions ( )
106112 {
107113 _lazySerializerReadOptions = new Lazy < JsonSerializerOptions > ( ( ) => new JsonSerializerOptions ( SerializerOptions ) , LazyThreadSafetyMode . PublicationOnly ) ;
Original file line number Diff line number Diff line change 1010 <ItemGroup >
1111 <PackageReference Include =" Bogus" Version =" 34.0.1" />
1212 <PackageReference Include =" coverlet.collector" Version =" $(CoverletVersion)" PrivateAssets =" All" />
13- <PackageReference Include =" FluentAssertions" Version =" 6.2 .0" />
13+ <PackageReference Include =" FluentAssertions" Version =" 6.3 .0" />
1414 <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" $(AspNetVersion)" />
1515 <PackageReference Include =" Microsoft.Extensions.Caching.Abstractions" Version =" $(AspNetVersion)" />
1616 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" $(TestSdkVersion)" />
You can’t perform that action at this time.
0 commit comments