Closed stanswi closed 2 years ago
@stanswi this might be considered a bug.
Added support for dynamic_path_key_to_int
TTP object argument in commit b5922f4b3c791d04c2706e33365537378fa591ee, that allows to switch the behaviour to convert dynamic path keys to integers. For backward compatibility dynamic_path_key_to_int
default value is False.
You can refer to test case as example demonstrating how to use dynamic_path_key_to_int
Hope that helps.
FYI - released TTP 0.8.4 that includes fix for tis issue.
closing this one as workaround integrated in ttp, feel free to re-open if need any further help.
Hey There,
I think this is a small bug. I tried to look through the code but I can't seem to find the section that formulates the data structures.
Assuming the following input data
And assuming this template
I am casting the
domain_id
match to an integer type. When TTP returns the data structure, it appears to be cast back into a string rather than its native type.Result:
If this is in fact a bug, looking forward to seeing the PR. Hopeful that maybe someday I could contribute a PR for something like this but at the moment not familiar enough with the code base.
Thanks again!!