File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/FitSyncHub.Functions/Mappers Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,16 @@ namespace FitSyncHub.Functions.Mappers;
77[ Mapper ]
88internal sealed partial class SummaryActivityMapper
99{
10- [ MapProperty ( nameof ( SummaryActivityModelResponse . Id ) , nameof ( SummaryActivityData . id ) ) ]
10+ [ MapProperty (
11+ nameof ( SummaryActivityModelResponse . Id ) ,
12+ nameof ( SummaryActivityData . Id ) ,
13+ SuppressNullMismatchDiagnostic = true ) ]
1114 public partial SummaryActivityData SummaryActivityResponseToDataModel ( SummaryActivityModelResponse activity ) ;
1215
13- [ MapProperty ( nameof ( ActivityModelResponse . Id ) , nameof ( SummaryActivityData . id ) ) ]
16+ [ MapProperty (
17+ nameof ( ActivityModelResponse . Id ) ,
18+ nameof ( SummaryActivityData . Id ) ,
19+ SuppressNullMismatchDiagnostic = true ) ]
1420 [ MapperIgnoreSource ( nameof ( ActivityModelResponse . AvailableZones ) ) ]
1521 [ MapperIgnoreSource ( nameof ( ActivityModelResponse . AverageTemp ) ) ]
1622 [ MapperIgnoreSource ( nameof ( ActivityModelResponse . Calories ) ) ]
You can’t perform that action at this time.
0 commit comments