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
ValueType.isParsable is never used except by tests and there is no good reason to call it. Directly calling parse and getting the error gives the information that is needed to display to the user, whereas the isParsable method doesn't explain why its not parsable.
Related: Since nulls are handled either by a default value or a non-null constraint, the `ValueType.parse' method should clearly state that it does not expect nulls. Its OK for it to continue to check for nulls and the appropriate response would be null.
The text was updated successfully, but these errors were encountered:
ValueType.isParsable
is never used except by tests and there is no good reason to call it. Directly callingparse
and getting the error gives the information that is needed to display to the user, whereas theisParsable
method doesn't explain why its not parsable.Related: Since nulls are handled either by a default value or a non-null constraint, the `ValueType.parse' method should clearly state that it does not expect nulls. Its OK for it to continue to check for nulls and the appropriate response would be null.
The text was updated successfully, but these errors were encountered: