Currently rororo ValidationError has next format,
interface ValidationError {
detail: Array<{
loc: Array<string | number>
message: string
}>
}
while fastapi & django-ninja use a bit different format,
interface ValidationError {
detail: Array<{
loc: Array<string | number>
msg: string
type: string
}>
}
With that in mind need to update rororo ValidationError to be compatible with other validation errors.
Currently rororo
ValidationErrorhas next format,while fastapi & django-ninja use a bit different format,
With that in mind need to update rororo
ValidationErrorto be compatible with other validation errors.