Skip to content

Commit

Permalink
Update to Dapper 2.1.21 and all other packages to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipKruger911 committed Nov 18, 2023
1 parent 6922286 commit fe39f99
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
11 changes: 7 additions & 4 deletions Edgy.DapperMapper.Test/Edgy.DapperMapper.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.8" />
<PackageReference Include="coverlet.collector" Version="3.1.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions Edgy.DapperMapper/DapperCustomPropertyTypeMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ private static void Map(Type type)
// PropertyInfo will be null for columns that are returned by a query for which the entity has no matching
// property/ColumnAttribute combination. A null return value for propertyInfo does not produce any errors.

#pragma warning disable CS8603 // Possible null reference return.
return propertyInfo;
#pragma warning restore CS8603 // Possible null reference return.
});

Dapper.SqlMapper.SetTypeMap(type, customPropertyTypeMap);
Expand Down
9 changes: 5 additions & 4 deletions Edgy.DapperMapper/Edgy.DapperMapper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.1.2</Version>
<Version>1.1.3</Version>
<Title>Edgy.DapperMapper</Title>
<Authors>Philip Kruger</Authors>
<Description>
Expand All @@ -13,6 +13,7 @@
For the properties of a class/entity that are decorated with a ColumnAttribute, the name value of the ColumnAttribute represents the name of the column in the database.
</Description>
<PackageReleaseNotes>
1.1.3 - Update to Dapper 2.1.21 and all other packages to latest.
1.1.2 - Reference README.md in package.
1.1.1 - Add license file to package.
1.1.0
Expand All @@ -25,12 +26,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dapper" Version="2.1.11" />
<PackageReference Include="Dapper" Version="2.1.21" />
</ItemGroup>

<ItemGroup>
<None Include="..\LICENSE" Pack="true" PackagePath=""/>
<None Include="..\README.md" Pack="true" PackagePath=""/>
<None Include="..\LICENSE" Pack="true" PackagePath="" />
<None Include="..\README.md" Pack="true" PackagePath="" />
</ItemGroup>

</Project>

0 comments on commit fe39f99

Please sign in to comment.