Issue with merging (merge!)
vladhadzhiyski opened this issue · 1 comments
vladhadzhiyski commented
Merging doesn't seem to work. Can someone investigate? My expectation after executing merge!
is the disable_farmer_deassignment
value to be returning true and NOT false. If you try this example in ruby, it returns true
but not in the case below.
Is this a bug or that's something expected?
[2] pry()> default_config.disable_farmer_deassignment
=> false
[3] pry()> region_config.disable_farmer_deassignment
=> true
[4] pry()> default_config.merge!(region_config)
=> #<Config::Options enforce_resting=false, assign=true, assign_only_ql_approved=true, deassign="daily", deassign_intraday_dnd=false, ensure_category_mix=true, warn=true, specialization=false, hunter_farmer=false, assigner_worth_property="predicted_gb_callable", regular_capacity_multiplier=7, outside_sales_capacity_multiplier=9, immediate_intraday=false, disable_farmer_deassignment=false
pkuczynski commented
Can not reproduce. If you provide an example test, I can work on fixing this.