Closed mishaelnuh closed 5 years ago
Step 0:
SpeckleAbstract refs should unroll even if referring to lists.
If the list ref is referring to is a value type and not a reference type (e.g., 'List'), it will return null.
SpeckleCore
Convert target to IEnumerable and cast to object instead of converting to IEnumerable<object>.
IEnumerable
IEnumerable<object>
Step 0:
Expected Behaviour
SpeckleAbstract refs should unroll even if referring to lists.
Actual Behaviour
If the list ref is referring to is a value type and not a reference type (e.g., 'List'), it will return null.
Affected Projects
SpeckleCore
Proposed Solution (if any)
Convert target to
IEnumerable
and cast to object instead of converting toIEnumerable<object>
.