Yup - create and modify a validation schema at runtime

后端 未结 0 1136
野趣味
野趣味 2021-02-20 07:27

I need to create a user and then update it. So I need two different schema.

This is the first one, for the user creation:

const addressSchema = object().sh         


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