Skip to content

Commit

Permalink
add test cases for convert enumerable
Browse files Browse the repository at this point in the history
  • Loading branch information
obpt123 committed Feb 7, 2024
1 parent 0bfb213 commit d34a799
Show file tree
Hide file tree
Showing 4 changed files with 3,073 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/FlyTiger/Mapper/Generators/ConvertFunctionGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ private void AppendConvertToFunctions(MapperContext context)
var codeBuilder = context.CodeBuilder;
var fromType = mappingInfo.SourceType;
var toType = mappingInfo.TargetType;
var toTypeDisplay = mappingInfo.TargetType.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat);
var fromTypeDisplay = mappingInfo.SourceType.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat);
var toTypeDisplay = mappingInfo.TargetTypeFullDisplay;
var fromTypeDisplay = mappingInfo.SourceTypeFullDisplay;
//convert
AddToMethodForSingle(); //dto2entity , all dto readable properties should be use
//update single
Expand Down
2 changes: 1 addition & 1 deletion test/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
Loading

0 comments on commit d34a799

Please sign in to comment.