This is the Core extension for Adobe Experience Platform Tags. It provides default event, condition, action, and data element types to all Tags properties.
I have a data element "my key-value object" that returns a key-value object.
I use "my key-value object" as the return conditional value.
If the return conditional value is returned in a Rule, then Launch returns "my key-value object" as its Object type. Launch does not return the string version of "my key-value object".
Given this logic, there is no good reason to state that a string value is returned.
Expected Behaviour
The descriptions for the returned values should be changed so that they don't indicate that only string values are returned.
Based on https://github.com/adobe/reactor-extension-core/blob/ec17a5f7074133466587fd42216fdc717ed7a3f9/src/view/dataElements/conditionalValue.jsx#L104-L118, returned values are returned with their types as-is. The exception is for number-like values, which are cast to a
Number
type (which itself is a debatable casting).For example:
If the return conditional value is returned in a Rule, then Launch returns "my key-value object" as its
Object
type. Launch does not return the string version of "my key-value object".Given this logic, there is no good reason to state that a string value is returned.
Actual Behaviour
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem