special
vs built-in schema + custom
validation?
#555
jindong-zhannng
started this conversation in
General
Replies: 1 comment 2 replies
-
I recommend using const NumericStringSchema = v.string([v.numeric()]); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
I just found basically both of these 2 ways can do the same thing. e.g.
special
built-in schema +
custom
Which way is more preferred?
Beta Was this translation helpful? Give feedback.
All reactions