Open mahesh-panchal opened 5 months ago
This is happening because maps are hashed by hashing their values:
So there is no difference between a value and value in a map, or even changing the keys of the map, though changing the order will change the hash.
Bug report
Expected behavior and actual behavior
Changes to objects passed as input should trigger new runs when using
-resume
. When changing an object's structure, e.g. putting it in an array, or map, the process uses the cached values from before, rather than executing new runs.Steps to reproduce the problem
First run:
Changed code (run 2):
Program output
Run 1:
Run 2: Expect error due to change in input object structure, but uses cached values instead.
Environment