You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StringV is sealed class, so the only way to create a derived class is to inherit from ScalarValue<string>. The internal Decoder works one way only: ScalarValue<string> Derived Class to StringV but not the other way around.
Digging deeper into internal decoder implementation, the root cause is the usage of
StringV
is sealed class, so the only way to create a derived class is to inherit fromScalarValue<string>
. The internalDecoder
works one way only:ScalarValue<string>
Derived Class toStringV
but not the other way around.Digging deeper into internal decoder implementation, the root cause is the usage of
which in both ways evaluates to
false
and throwsInvalid Cast Exception
.This can be fixed in one of two ways:
StringV
not sealedIsAssignableFrom
check withstring
orScalarValue<string>
check.The text was updated successfully, but these errors were encountered: