We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed:
validateCallback()
validate()
any().rename()
object().rename()
rename()
move
alias
true
modify
with()
without()
xor(),
from all types except
error.simple()
error.message
error.annotated()
Changed:
callback
schema.validate()
Joi.validate()
or()
xor()
error.annotate()
[]
undefined
The text was updated successfully, but these errors were encountered:
hueniverse
No branches or pull requests
Removed:
validateCallback()
- usevalidate()
on compiled schemaany().rename()
- useobject().rename()
rename()
move
option - usealias
set totrue
modify
option - the input value is no longer modified, just the return valuewith()
,without()
,xor(),
or()from all types except
object`error.simple()
-error.message
is set to simple string automatically and doesn't change.error.annotated()
Changed:
validate()
requires a newcallback
argumentschema.validate()
no longer supports options - useJoi.validate()
to override the default options.rename()
deletes old key by defaultwith()
,without()
now require the name of the key they apply to and all other peers must be provided in a single array.or()
andxor()
are no longer bound to a specific key but to all the listed peers together.error.annotate()
returns the verbose message without changing the error itself.[]
notation now allowundefined
by default (defaulted to required before).The text was updated successfully, but these errors were encountered: