Merge pull request #249 from micimize/typeerror2.8-fix

fix type error message on 2.0
This commit is contained in:
Tobe Osakwe 2020-04-14 10:43:54 -04:00 committed by GitHub
commit 689798642d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -458,7 +458,7 @@ class GraphQL {
], ],
), ),
GraphQLExceptionError( GraphQLExceptionError(
e.message.toString(), e.toString(),
locations: [ locations: [
GraphExceptionErrorLocation.fromSourceLocation( GraphExceptionErrorLocation.fromSourceLocation(
argumentValue.value.span.start) argumentValue.value.span.start)