feat(common): introduce KeyValuePipe #24319
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
What is the current behavior?
There is no way to iterate a object or Map
What is the new behavior?
A pipe to object Map or object (dictionary) to a key value pair array for use in a ngFor
Does this PR introduce a breaking change?
@mhevery I've added a compareFn to deal with the sorting issues but i've become a bit uncertain about the implementation now.
This issue has been automatically locked due to inactivity.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.