Replies: 2 comments
-
This library provides the config The defaults for example support This was just an example how it could be done; there two other option quickly coming to my mind:
Does that help? Maybe if you describe a bit more details about your use-case I can help more. |
Beta Was this translation helpful? Give feedback.
-
Your suggestion is probably a bit more clean and out of the box then: That would be interesting to know how to populate errors array exactly. We will try to investigate it... |
Beta Was this translation helpful? Give feedback.
-
Is it possible to throw multiple graphql errors from resolver? How to do it?
Let's say I have a file upload service and I validate file contents. I want to send all errors that are present inside a file as an array to an error section of my graphql response.
Beta Was this translation helpful? Give feedback.
All reactions