Replies: 1 comment 7 replies
|
Hey, sorry for my late reply and thank you for reaching out! Does this even make sense? Do you have a practical example? Can't you just write You could also use our existing const Schema = v.pipe(
v.string(),
v.value('z', 'Customer error here'),
v.notValue('y', 'Customer error here'),
);More context:
But if there are got reasons I will consider a new |
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I often have lines in a pipe that look like:
and I would like to be able to switch that out for something more readable.
Sometimes it's possible to change the condition inside by just negating a conditional check, but often, especially with more complex logic, it isn't that easy.
All reactions