-
Notifications
You must be signed in to change notification settings - Fork 234
"Undefined index: mobile_phone", locations: [{line: 2, column: 3} #367
Comments
What's the full stacktrace? |
@mfn I don't quite understand what you mean.
|
I suggest you hook into |
@mfn |
You have to do this in your own. The underlying webonxy library and to that extend this wrapper don't have specific support for this. Also to consider: the "official" GraphQL spec from Facebook don't talk about status codes. At all. My advice for clients/consumers is to almost forego the status code and just inspects the OTOH, you can do what you want by:
My solution was to do 1) and 2) (but not due to the status codes). I do 1) because: especially for development, the errors returned from Folklore are a problem because they only contain the message but not the stacktrace. This slows down development immensely. I therefore use a custom formatter which does custom stuff but additionally calls into It takes a bit tuning and learning to get this right but it pays off immediately IMHO. |
@mfn Thank you very much for your help, I understand. |
How did you fix it? |
php
js
login
The text was updated successfully, but these errors were encountered: