IxJS icon indicating copy to clipboard operation
IxJS copied to clipboard

groupBy resultSelector values type is incorrect

Open patsissons opened this issue 8 years ago • 2 comments

IxJS version: 2.3.1

Additional information:

createGrouping returns the grouped items as an array instead of an Iterable.

patsissons avatar Nov 29 '17 21:11 patsissons

@patsissons but an Array is an Iterable, unless you're thinking it must be an IterableX type.

mattpodwysocki avatar Dec 04 '17 17:12 mattpodwysocki

I don't see Iterable being assignable to Array (or vice versa), I am now on 2.3.4. The issue I am encountering is that the groupBy resultSelector values param is typed as Iterable, but I cannot use any Iterable operators on it because it is actually just an Array.

patsissons avatar Dec 04 '17 17:12 patsissons