Closed AdityaKhatri closed 4 years ago
Works for me @Navin-Ayer . @tnagorra , waiting for your feedback.
Yes, should work!
@Navin-Ayer
Previously, we have this schema for errors:
{
errors: { non_field_errors: ["error", "some error"], some_other_field: "string", yet_another_field: "string" }
}
To add data to what error we have, we should update non_field_errors
to include objects:
{
errors: { non_field_errors: [{ message: "error": leads: []}], some_other_field: "string", yet_another_field: "string" }
}
@tnagorra @AdityaKhatri . Does this works?