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
Both the classes have the same issue of lack the validation for the result of the converter.fromTypeString(type) and cause if there return null value the logic will throw NPE. IMO it is not clearly enough for all users to know what's hapened and how to solve it.
Description
TypeInfo<?> typeInfo = typeInfoConverter.fromTypeString(type);
and
TypeInfo<?> typeInfo = converter.fromTypeString(type);
Both the classes have the same issue of lack the validation for the result of the
converter.fromTypeString(type)
and cause if there returnnull
value the logic will throwNPE
. IMO it is not clearly enough for all users to know what's hapened and how to solve it.Your use scenarios
No response
Your alternatives
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: