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
I can get form.errors, but it's not the right type of object for the jsonapi renderer to pick up -- which may be an issue I need to take up with active_model_serializers.... but.. not right now.
Is there a built-in way I can sync the errors back to the model?
What method is missing when using master, I wonder? The Errors API from ActiveRecord is kinda fuzzy and changes every now and then, so your input is valuable here! ✨
Complete Description of Issue
I'm trying to render jsonapi formatted errors, via
I can get form.errors, but it's not the right type of object for the jsonapi renderer to pick up -- which may be an issue I need to take up with active_model_serializers.... but.. not right now.
Is there a built-in way I can sync the errors back to the model?
I suppose I could make some method that
But, am wondering about a built-in way. thanks!
System configuration
Reform version: 2.2.4
The text was updated successfully, but these errors were encountered: