sudoblockio / tackle

Tackle is a programmable configuration language for building modular utilities, code generators, and CLIs with schema validation baked in.
Apache License 2.0
52 stars 2 forks source link

Merging a list twice to a dict doesn't do anything #163

Open robcxyz opened 1 year ago

robcxyz commented 1 year ago

This is a super edge case. When merging a list into a dict, we change the type of the key because it is impossible to merge...

But when we merge again, it technically should append to the prior list but it only overwrites it.

resources:
  name: operator
  do some merge->: literal [1,2,3] --merge
#  This does nothing 
  do another merge->: literal [2,3] --merge

Length of resources is 2, not 5