Skip to content

Commit

Permalink
Enable nullable in LeanCode.TestBed
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Klusek committed Jan 21, 2025
1 parent b9c655b commit 95f7bcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test-bed/Api/TestQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class TestQuery : IQuery<TestQueryResult> { }
public class TestQueryResult
{
public Guid Id { get; set; }
public string Property1 { get; set; }
public string Property1 { get; set; } = default!;
public TestQueryResult? Inner { get; set; }
}

Expand Down
2 changes: 1 addition & 1 deletion test-bed/LeanCode.TestBed.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<Nullable>annotations</Nullable>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit 95f7bcc

Please sign in to comment.