How to make the field nullable with yup?

后端 未结 0 350
温柔的废话
温柔的废话 2021-01-12 20:57

I want to check my object against the schema.

foo should be a number. but if it\'s null then it\'s okay. but how to make yup to

相关标签:
回答
  • 消灭零回复
提交回复
热议问题