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
This might just be me being clumsy, but I've had a few instances of incorrectly setting validation rules (typos, etc…), what about having rule constant strings?
I'm not convinced of this one, @EpicKris. The only benefit is that the IDE could do autocomplete. I'm afraid, though, that if we add this due to the error-prone word required (and yes, I misspell it too often myself), then we will have to start creating a lot of special case rules like this.
This might just be me being clumsy, but I've had a few instances of incorrectly setting validation rules (typos, etc…), what about having rule constant strings?
For example:
Could even add a convenience method to the validation class:
The text was updated successfully, but these errors were encountered: