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
The most correct solution would be to make the error response spec compliant and add locations to the response, that way it's easy to see which field triggered the error.
Hi there.
When error occurred, the debugging process is not really easy.
Example :
Cannot return null for non-nullable field 'name'
.With more than 10 types with a
name
field and more than 1M records in our database, it's not really easy to target the faulty value.What I suggest is to use PSR\Logger within some class and add debugging information using
debug
log level.What do you think about?
Regards;
The text was updated successfully, but these errors were encountered: