Changelog
0.32.0 (2020-12-03)
concat
doesn't check for "unset" nullable or presence when merging meaning the nullability and presence will always be the same as the schema passed to concat()
. They can be overridden if needed after concatenationimport { StringSchema, string } from 'yup'
Changelog
0.31.0 (2020-11-23)
default()
(#1119) (5dae837)To maintain the old behavior change to:
array().required().min(1)
to recreate the old behavior:
string().transform((_, input) => input != null && input.toString ? input.toString() : value);
Changelog
0.30.0 (2020-11-19)