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 attempting a GraphQL mutation with invalid input data, model validation errors are being returned as a single concatenated string. I've got a front end form and it would be great to show errors in the page per-field, but I can't see a sensible way to extract that information from the return data. Is there a way to get more granular error reporting out of a mutation response?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When attempting a GraphQL mutation with invalid input data, model validation errors are being returned as a single concatenated string. I've got a front end form and it would be great to show errors in the page per-field, but I can't see a sensible way to extract that information from the return data. Is there a way to get more granular error reporting out of a mutation response?
Beta Was this translation helpful? Give feedback.
All reactions