Closed oscar-ad closed 2 years ago
The weight for JSON and DSL would get ignored.
For the DSL, the weight value would get overriden by ChainReference.
In JSON, the reference was being added twice per element when using weight, ultimately, only the first addition was being used, which didn't include values for weight and margins.
Upon closer inspection, it seems that for JSON, the weight wasn't being ignored.
Since ChainReference would end up having repeated IDs, it would try to create "illegal" constraints, E.g: a - a - b - b - c - c
The weight for JSON and DSL would get ignored.
For the DSL, the weight value would get overriden by ChainReference.
In JSON, the reference was being added twice per element when using weight, ultimately, only the first addition was being used, which didn't include values for weight and margins.