How can I specify a custom error message for a Joi xor()?

前端 未结 0 1861
一向
一向 2020-12-04 23:27

I\'ve got a schema where one of two optional forms can be added at runtime and one of them must be added to pass validation. I\'ve got that bit working with the use of an

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