Merges two lists of objects based on a key function First list items will be overridden by second list items with the same key
First list of objects
Second list of objects (takes precedence over list1)
Function to extract the key from an object
Merged list with duplicates removed based on key
Merges two lists of objects based on a key function First list items will be overridden by second list items with the same key