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