Message from JavaScript discussions

November 2018

— Or R.mergeDeepRight

— 

Dataset =

{
"meta": {
"googleProjectName": "userver-TEST",
"name": "test-project",
"type": "00-nginx-php-mariadb"
}
}


tomerge =
{
"meta": {
"type": "00-nginx-php-mariadb",
"name": "Wooo"
}
}

result =
{
"meta": {
"googleProjectName": "userver-TEST",
"name": "test-project",
"type": "00-nginx-php-mariadb"
}
}


using R.mergeDeepLeft(dataset, tomerge)

— This is not right

— Well I should use deepmergeright

— But the result is the same

— No

— I am missing something

— Oh right, mergeDeepRight accepts only 2 parameters

— Not like Object.assign

— Yes

— Almost no ramda functions are variadic

— Welcome