dacite icon indicating copy to clipboard operation
dacite copied to clipboard

Improving type casting from list of values to mixed tuples

Open plonerma opened this issue 2 years ago • 0 comments

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).

plonerma avatar May 03 '23 11:05 plonerma