Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(common): KeyValuePipe should return empty array for empty objects #27258
This lets KeyValuePipe return an empty array (rather than undefined)
Please check if your PR fulfills the following requirements:
I don't think this requires explicit clarification in the docs, so no changes there.
What kind of change does this PR introduce?
What is the current behavior?
KeyValuePipe returns undefined on empty objects.
Issue Number: #27243
What is the new behavior?
KeyValuePipe returns empty array on empty objects.
Does this PR introduce a breaking change?