Skip to content

Commit 6a6ac98

Browse files
authored
[Fusion] Refactored merging to ensure correct type references (#7995)
1 parent fc66e4e commit 6a6ac98

File tree

4 files changed

+265
-100
lines changed

4 files changed

+265
-100
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
namespace HotChocolate.Fusion.Extensions;
2+
3+
internal static class GroupingExtensions
4+
{
5+
public static void Deconstruct<TKey, TElement>(
6+
this IGrouping<TKey, TElement> grouping,
7+
out TKey key,
8+
out IEnumerable<TElement> values)
9+
{
10+
key = grouping.Key;
11+
values = grouping;
12+
}
13+
}

0 commit comments

Comments
 (0)