lukejagodzinski / meteor-astronomy-validators

https://atmospherejs.com/jagi/astronomy-validators
MIT License
11 stars 13 forks source link

Required validator ? #2

Closed vladshcherbin closed 9 years ago

vladshcherbin commented 9 years ago

I guess, there is no required validator?

We need that.

lukejagodzinski commented 9 years ago

There is a required validator but it's an alias to isNotNull validator. Maybe I should do otherwise. And the error message is "it can't be null", so I will change it to "is required".

vladshcherbin commented 9 years ago

@jagi oh, thanks, didn't see it. There is a required alias so it is okay. The required message would be a nice replacement!