When using mixed tuples, values are (currently) only cast if the data contains a tuple as well. If the data contains a list, this leads to unexpected behavior (see #227).
This PR fixes this behavior to broaden the usage of the tuple-build_value rule to data types (as long as the expected type is a tuple).
When using mixed tuples, values are (currently) only cast if the data contains a tuple as well. If the data contains a list, this leads to unexpected behavior (see #227).
This PR fixes this behavior to broaden the usage of the tuple-build_value rule to data types (as long as the expected type is a tuple).