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
When there is a validation error to return a json error with pointer filed for attributes with an underscore
Actual Behavior
The JSON:API error message has a blank pointer value in the error payload when the attribute contain a underscore
Steps to Reproduce the Problem
Create a model with a field that contain a underscore. Set the serializer to set_key_transform :dash
Send an update or a create that violate a validation on the field of the underscore
The json error pointer value is empty
Specifications
Version: 1.6
Ruby version: 2.5
The text was updated successfully, but these errors were encountered:
Expected Behavior
When there is a validation error to return a json error with pointer filed for attributes with an underscore
Actual Behavior
The JSON:API error message has a blank pointer value in the error payload when the attribute contain a underscore
Steps to Reproduce the Problem
Create a model with a field that contain a underscore. Set the serializer to
set_key_transform :dash
Send an update or a create that violate a validation on the field of the underscore
The json error pointer value is empty
Specifications
The text was updated successfully, but these errors were encountered: