Improve Dict\merge #413
Labels
Priority: High
After critical issues are fixed, these should be dealt with before any further issues.
Status: Accepted
It's clear what the subject of the issue is about, and what the resolution should be.
Status: Available
No one has claimed responsibility for resolving this issue.
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Describe the bug
Currently
Dict\merge
is using the spread operator internally.This behaves weird on numeric or numeric-string keys:
https://3v4l.org/gV0V8
Expected behavior
Since the merge is being done on dict's, it should merge based on exact key and not try to merge as a list.
We already have
Vec\concat
for concatenating lists.The text was updated successfully, but these errors were encountered: