File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ public TestDataLoader()
1616 public List < IReadOnlyList < string > > Loads { get ; } =
1717 new List < IReadOnlyList < string > > ( ) ;
1818
19- protected override Task < IReadOnlyList < Result < string > > > Fetch (
19+ protected override Task < IReadOnlyList < IResult < string > > > Fetch (
2020 IReadOnlyList < string > keys )
2121 {
2222 Loads . Add ( keys . OrderBy ( t => t ) . ToArray ( ) ) ;
23- return Task . FromResult < IReadOnlyList < Result < string > > > (
23+ return Task . FromResult < IReadOnlyList < IResult < string > > > (
2424 keys . Select ( t => Result < string > . Resolve ( t ) ) . ToArray ( ) ) ;
2525 }
2626 }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public HumanDataLoader(CharacterRepository repository)
2121 public List < IReadOnlyList < string > > Loads { get ; } =
2222 new List < IReadOnlyList < string > > ( ) ;
2323
24- protected override Task < IReadOnlyList < Result < Human > > > Fetch (
24+ protected override Task < IReadOnlyList < IResult < Human > > > Fetch (
2525 IReadOnlyList < string > keys )
2626 {
2727 var result = _repository . GetHumans ( keys ) . ToDictionary ( t => t . Id ) ;
@@ -39,7 +39,7 @@ protected override Task<IReadOnlyList<Result<Human>>> Fetch(
3939 }
4040 }
4141
42- return Task . FromResult < IReadOnlyList < Result < Human > > > ( list ) ;
42+ return Task . FromResult < IReadOnlyList < IResult < Human > > > ( list ) ;
4343 }
4444 }
4545}
Original file line number Diff line number Diff line change 2323 </PropertyGroup >
2424
2525 <ItemGroup >
26- <PackageReference Include =" GreenDonut" Version =" 1.0.3 " />
26+ <PackageReference Include =" GreenDonut" Version =" 1.1.0 " />
2727 <PackageReference Include =" System.Diagnostics.DiagnosticSource" Version =" 4.5.1" />
2828 </ItemGroup >
2929
You can’t perform that action at this time.
0 commit comments