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
I was wondering if it would be possible to allow to compose validates?
I know I can always create a new function and call all sub-validators (maybe including the builtin ones?), but it feels to me like it would be a very nice QOL to be able to do:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I was wondering if it would be possible to allow to compose validates?
I know I can always create a new function and call all sub-validators (maybe including the builtin ones?), but it feels to me like it would be a very nice QOL to be able to do:
Alternatively, it would be nice to be able to compose types (but of course that cannot work since I'm expected to give a String, not a Nutype):
Beta Was this translation helpful? Give feedback.
All reactions