Skip to content

Commit

Permalink
Enable strict NRTs (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz authored Sep 20, 2023
1 parent d5e19cc commit 4d33713
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
<PropertyGroup>
<CurrentPreviewTfm>net8.0</CurrentPreviewTfm>
<!--<IncludePreview>true</IncludePreview>-->
<IncludePreview Condition=" '$(IncludePreview)' == ''">false</IncludePreview>
<IncludePreview Condition="'$(IncludePreview)' == ''">false</IncludePreview>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<WarningsAsErrors>nullable</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -19,7 +20,7 @@

<ItemGroup>
<!--
The .NET Framework target doesn't seem to like this implicit using so we
The .NET Framework target doesn't seem to like this implicit using so we
have to bring it in for each file, so might as well remove it for .NET targets too.
-->
<Using Remove="System.Net.Http" />
Expand Down
1 change: 1 addition & 0 deletions src/Sdk/Models/AddAliasRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ private AddAliasRequest(string userId, bool hashing = true)
{
UserId = userId ?? throw new ArgumentNullException(nameof(userId));
Hashing = hashing;
Aliases = new HashSet<string>();
}

public string UserId { get; }
Expand Down

0 comments on commit 4d33713

Please sign in to comment.