Skip to content

Commit 51d3f9b

Browse files
committed
workaround dotnet/efcore#35100 by not using language preview in lexbox for now
1 parent 0aa8192 commit 51d3f9b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

backend/LexBoxApi/Config/FwLiteReleaseConfig.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ public class FwLiteEditionConfig
1717
[Required]
1818
public required string FileNameRegex { get; init; }
1919

20-
[field: AllowNull]
21-
public Regex FileName => field ??= new Regex(FileNameRegex);
20+
private Regex? _fileName;
21+
public Regex FileName => _fileName ??= new Regex(FileNameRegex);
2222
}

backend/LexBoxApi/LexBoxApi.csproj

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>
55
<UserSecretsId>7392cddf-9b3b-441c-9316-203bb5c4a6bc</UserSecretsId>
66
<GarbageCollectionAdaptationMode>1</GarbageCollectionAdaptationMode>
7-
<LangVersion>preview</LangVersion>
87
</PropertyGroup>
98
<ItemGroup>
109
<PackageReference Include="AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL" />
@@ -65,4 +64,4 @@
6564
<ItemGroup>
6665
<Content Include="Services\HgEmptyRepo\**" CopyToOutputDirectory="PreserveNewest" />
6766
</ItemGroup>
68-
</Project>
67+
</Project>

0 commit comments

Comments
 (0)