File tree 3 files changed +11
-5
lines changed
src/JsonApiDotNetCore/Configuration
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<TargetFrameworkName >net6.0</TargetFrameworkName >
4
4
<AspNetVersion >6.0.*</AspNetVersion >
5
- <EFCoreVersion >6.0.1 </EFCoreVersion >
5
+ <EFCoreVersion >6.0.* </EFCoreVersion >
6
6
<EFCorePostgresVersion >6.0.*</EFCorePostgresVersion >
7
- <MicrosoftCodeAnalysisVersion >4.*</MicrosoftCodeAnalysisVersion >
7
+ <MicrosoftCodeAnalysisVersion >4.0. *</MicrosoftCodeAnalysisVersion >
8
8
<HumanizerVersion >2.*</HumanizerVersion >
9
9
<JsonApiDotNetCoreVersionPrefix >5.0.0</JsonApiDotNetCoreVersionPrefix >
10
10
<CodeAnalysisRuleSet >$(MSBuildThisFileDirectory)CodingGuidelines.ruleset</CodeAnalysisRuleSet >
29
29
30
30
<!-- Test Project Dependencies -->
31
31
<PropertyGroup >
32
- <CoverletVersion >3.1.0 </CoverletVersion >
32
+ <CoverletVersion >3.1.2 </CoverletVersion >
33
33
<MoqVersion >4.16.1</MoqVersion >
34
- <TestSdkVersion >17.0 .0</TestSdkVersion >
34
+ <TestSdkVersion >17.1 .0</TestSdkVersion >
35
35
</PropertyGroup >
36
36
</Project >
Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ public sealed class JsonApiOptions : IJsonApiOptions
102
102
}
103
103
} ;
104
104
105
+ static JsonApiOptions ( )
106
+ {
107
+ // Bug workaround for https://github.com/dotnet/efcore/issues/27436
108
+ AppContext . SetSwitch ( "Microsoft.EntityFrameworkCore.Issue26779" , true ) ;
109
+ }
110
+
105
111
public JsonApiOptions ( )
106
112
{
107
113
_lazySerializerReadOptions = new Lazy < JsonSerializerOptions > ( ( ) => new JsonSerializerOptions ( SerializerOptions ) , LazyThreadSafetyMode . PublicationOnly ) ;
Original file line number Diff line number Diff line change 10
10
<ItemGroup >
11
11
<PackageReference Include =" Bogus" Version =" 34.0.1" />
12
12
<PackageReference Include =" coverlet.collector" Version =" $(CoverletVersion)" PrivateAssets =" All" />
13
- <PackageReference Include =" FluentAssertions" Version =" 6.2 .0" />
13
+ <PackageReference Include =" FluentAssertions" Version =" 6.3 .0" />
14
14
<PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" $(AspNetVersion)" />
15
15
<PackageReference Include =" Microsoft.Extensions.Caching.Abstractions" Version =" $(AspNetVersion)" />
16
16
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" $(TestSdkVersion)" />
You can’t perform that action at this time.
0 commit comments