Closed TCMiranda closed 5 years ago
It may be possible to infer A | B from .when('...', { is: X, then: A, otherwise: B }). From: https://github.com/hapijs/joi/issues/1557#issuecomment-430631071
A | B
.when('...', { is: X, then: A, otherwise: B })
Close with #14
It may be possible to infer
A | B
from.when('...', { is: X, then: A, otherwise: B })
. From: https://github.com/hapijs/joi/issues/1557#issuecomment-430631071