bitplatform icon indicating copy to clipboard operation
bitplatform copied to clipboard

Incorrect handling of the generic type generation in the `Component Details` API of the Playground project

Open msynk opened this issue 3 years ago • 0 comments

Currently, in order to create a concrete type of a generic component the following line is implemented:

var concreteComponentType = componentType.IsGenericType ? componentType.MakeGenericType(typeof(string)) : componentType;

in this line of code, the MakeGenericType method is called with only 1 dummy generic argument (string in here) which is invalid for components with more than 1 generic argument.

msynk avatar Jun 08 '22 19:06 msynk