Allows a callable to be passed in as the ac_merge option to e.g. load. Seemed like the simplest way to allow client code to customize the merge strategy.
Coverage decreased (-0.06%) to 93.045% when pulling 174dadc65dd728a39453d7181814087d7bd6f707 on csboling:custom-merge-strat into c372b9803a8c9bdb84ef7764db734ee437c9d5cd on ssato:master.
Coverage decreased (-0.06%) to 93.045% when pulling 174dadc65dd728a39453d7181814087d7bd6f707 on csboling:custom-merge-strat into c372b9803a8c9bdb84ef7764db734ee437c9d5cd on ssato:master.
Coverage increased (+0.009%) to 93.11% when pulling 78defe925675f93f56f5fd129e95d74bfff313b9 on csboling:custom-merge-strat into c372b9803a8c9bdb84ef7764db734ee437c9d5cd on ssato:master.
Actually, this is one of what I've been wanted to improve and wondered how should be implemented for a while. Your patch looks great and good for me. I'll merge the PR.
Allows a callable to be passed in as the
ac_merge
option to e.g.load
. Seemed like the simplest way to allow client code to customize the merge strategy.