You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
When i validating fields with validateObject function, i get error response like:
{
"message": "The given data was invalid.",
"errors": {
"status": [
"The status field is required."
],
"expiry_date": [
"The expiry date field is required."
]
}
}
Which is not valid jsonapi error response.
valid should be:
{
"errors": [
{
"source": { "parameter": "status" },
"title": "The given data was invalid.",
"detail": "The status field is required."
},
{
"source": { "parameter": "expiry_date" },
"title": "The given data was invalid.",
"detail": "The expiry date field is required."
}
]
}