Joi Validation || In an array of object, at least one object should contain a particular value of a key

后端 未结 0 1561
一整个雨季
一整个雨季 2021-01-13 04:19

I need a schema for below array of object:

option = [
    {
        answer: \'\',
        isTrue: false
    },
    {
        answer: \'\',
        isTrue: tru         


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