Closed Cito closed 5 years ago
The stack attribute of GraphQLLocatedErrors was not set for errors that resulted from asynchronous resolvers.
This PR adds a unit test for this problem and a solution that works with Python >= 3 and solves #237.
For Python 2 this problem is not yet solved, and may be never solved, because dealing with stack traces is much more difficult there.
@Cito merge whenever you're ready
The stack attribute of GraphQLLocatedErrors was not set for errors that resulted from asynchronous resolvers.
This PR adds a unit test for this problem and a solution that works with Python >= 3 and solves #237.
For Python 2 this problem is not yet solved, and may be never solved, because dealing with stack traces is much more difficult there.