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
After our discussion last week, I made an attempt at having an overloaded method that would accept and object as the first parameter. That was definitely a no go. We cannot be confident that the first parameter is not already an object causing the validation for this to be sketchy at best.
I'm going to make an attempt at the 3rd parameter being an options object, as that was the other alternative we had discussed.
As a convenience coerce should generate a default message based on a provided name for the value being coerced.
Example
The text was updated successfully, but these errors were encountered: