ritchieanesco/json-schema-yup-transform

array.of() support?

Closed this issue · 1 comments

Hi, First of all thank you for creating this library,

I have a question, I would like to know if the library have support for array.of() and if it has how would the json scheme be to have this output?

people: yup
  .array()
  .of(
    yup.object().shape({
      name: yup.string().required(),
      phoneNumber: yup.string().required()
    })
  )
  .required()