Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Yup v0.28.3 working correctly for nullable & noUnknown

node v10.24.1
version: master
endpointsharetweet
const { object, string } = require("yup@0.28.3") const schema = object({ name: string() }).nullable().noUnknown(); schema.validate(null)
Loading…

no comments

    sign in to comment