Open mschwab12 opened 9 months ago
This is because merging lists in OmegaConf leads to the merged list overriding the previous one. So this is actually working as intended.
You can check this comment for pointers towards potential workarounds: https://github.com/facebookresearch/hydra/issues/1547#issuecomment-1235918733
Describe the bug I want to update a list config an use the merge option (#367) as I want to add another list item. When I do this the existing list item always gets replaced instead of merged which is because in the code of _list_merge of basecontainer.py the temp dest gets initialised with an empty list, gets the new value added and then the original list is replaced with the temp list. So this of course does not make a match. I am not sure if this behaviour is intended.
To Reproduce
Expected behavior Output should be:
Additional context