Scott Steinbeck
08/04/2022, 6:48 PMcbValidate
but it is in more of a functional style. Before I go down the rabbit hole of converting this module would there be any interested in using it? Please comment in thread if soScott Steinbeck
08/04/2022, 6:49 PMScott Steinbeck
08/04/2022, 6:54 PMScott Steinbeck
08/04/2022, 6:58 PMjson()
,concat()
,pick()
,omit()
,from()
Scott Steinbeck
08/04/2022, 7:00 PMcount: yup.number().when('isBig', ([isBig], schema) => {
return isBig ? schema.min(5) : schema.min(0);
}),
which i think could be used in place of the struct. the when
syntax is similar to qb
which i absolutely lovezackster
08/04/2022, 9:18 PMScott Steinbeck
08/04/2022, 9:27 PMScott Steinbeck
08/04/2022, 9:32 PM