Details
-
Bug
-
Status: Done
-
Minor
-
Resolution: Done
-
None
-
None
-
None
Description
With following example, EdgeTransform gives wrong transformed result.
given: "transform": [["age_band.slot.$.8", "age_band"]] expected: "age_band.slot.${age_band}.8" result: "age_band.slot.${age_band}"
so transform logic lose ".8"
I think this problem comes from not comparable size on tokens split by "$" and values provided on EdgeTransformer.replace method.
"age_band.slot.$.8" yield ["age_band.slot.", ".8"] and values provided into replace is only ["age_band"] so zipping these two lose last element of first list.