Skip to content

custom error message and clean code

Compare
Choose a tag to compare
@alguerocode alguerocode released this 05 Oct 16:53
· 258 commits to main since this release
f6becbf

add custom error message by doing array

const volderSchema  = new Volder({
  name:{
type:[String, 'type should be string']
})