Facing intermittent merge failures for data.notes child objects. Sometimes we get output as expected and sometimes it's overriding the child object during merge and resolution for same key.
data.notes.fund_account_id is getting overwritten by data.notes, if it gets iterated first. This is possibly happening due to random order of map (*spec.Spec) while iterating in default.go.
Spec Config
Input {}
Expected Output
Facing intermittent merge failures for
data.notes
child objects. Sometimes we get output as expected and sometimes it's overriding the child object during merge and resolution for same key.Intermittent incorrect output
data.notes.fund_account_id
is getting overwritten bydata.notes
, if it gets iterated first. This is possibly happening due to random order of map (*spec.Spec) while iterating in default.go.