Closed SkeirBoreal closed 3 months ago
updated ResolveThingMethod() to check if the args is assignable from a derived type. This should allow passing through any custom type as a parameter into a mutation in the dialogue. (this mainly aims at fixing methods that return a Task)
Fixes this issue: `E 0:00:02:0901 object System.Convert.ChangeType(object, System.Type, System.IFormatProvider): System.InvalidCastException: Object must implement IConvertible. <C++ Error> System.InvalidCastException <C++ Source> :0 @ object System.Convert.ChangeType(object, System.Type, System.IFormatProvider)
updated ResolveThingMethod() to check if the args is assignable from a derived type. This should allow passing through any custom type as a parameter into a mutation in the dialogue. (this mainly aims at fixing methods that return a Task)
Fixes this issue: `E 0:00:02:0901 object System.Convert.ChangeType(object, System.Type, System.IFormatProvider): System.InvalidCastException: Object must implement IConvertible. <C++ Error> System.InvalidCastException <C++ Source> :0 @ object System.Convert.ChangeType(object, System.Type, System.IFormatProvider)