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
In file ValidationErrorDocument pointer is hardcoded to display attributes: $pointer = '/data/attributes/'.$fieldError->getPropertyPath();
if i have validation error in my relationship then i will still receive in errors pointer to attributes, not to relationships.
actual result : { "jsonapi": { "version": "1.0" }, "errors": [ { "detail": "This value should not be blank.", "source": { "pointer": "/data/attributes/branch", "parameter": "Invalid Value" } } ] }
expected:
{ "jsonapi": { "version": "1.0" }, "errors": [ { "detail": "This value should not be blank.", "source": { "pointer": "/data/relationships/branch", "parameter": "Invalid Value" } } ] }
The text was updated successfully, but these errors were encountered:
In file ValidationErrorDocument pointer is hardcoded to display
attributes
:$pointer = '/data/attributes/'.$fieldError->getPropertyPath();
if i have validation error in my relationship then i will still receive in errors pointer to attributes, not to relationships.
actual result :
{ "jsonapi": { "version": "1.0" }, "errors": [ { "detail": "This value should not be blank.", "source": { "pointer": "/data/attributes/branch", "parameter": "Invalid Value" } } ] }
expected:
{ "jsonapi": { "version": "1.0" }, "errors": [ { "detail": "This value should not be blank.", "source": { "pointer": "/data/relationships/branch", "parameter": "Invalid Value" } } ] }
The text was updated successfully, but these errors were encountered: