Skip to content

Commit 07fb3d8

Browse files
authored
Updated GreenDonut dependency (#328)
1 parent 4c0ad1c commit 07fb3d8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Core.Tests/Integration/DataLoader/TestDataLoader.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

src/Core.Tests/Integration/StarWarsCodeFirst/HumanDataLoader.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

src/Core/Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
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

0 commit comments

Comments
 (0)