graphql-go / graphql

An implementation of GraphQL for Go / Golang
MIT License
9.82k stars 836 forks source link

Error handling #685

Open Pim-Infuzed opened 7 months ago

Pim-Infuzed commented 7 months ago

Hi,

As a happy user of your graphql library I have one request. If runtime error occurs in graphql.Do or any of the solvers involved, it is really hard to find where this vulnerability occurs because most of the information is lost somewhere. Is there a way to prevent this los of information?

pyropy commented 6 months ago

I am having the same issue. Having stack trace returned together with the runtime error would be helpful, or some flag that would let program panic and crash (at least for development purposes)