Skip to content

Conversation

@jipperinbham
Copy link

@jipperinbham jipperinbham commented May 12, 2022

Currently, it's not possible to create an instance of GraphQLError in a dependent package for testing such that it can utilize the helper functions (i.e. IsUnauthorizedError) because the error field is not accessible. With this change, packages that depend on this module can create an instance of GraphQLError to be able to assert specific error conditions.

@jipperinbham jipperinbham requested a review from jphenow May 12, 2022 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants