graphql-python / graphql-python/graphql-core-legacy

Include `extensions` field in GraphQLError.

Open
#203 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
372
Forks
175
PR merge metrics
No merged PRs in 30d

Description

The [GraphQL docs](http://graphql.github.io/graphql-js/error/#errors) specify a field called `extensions` is available for a GraphQLError. GraphQL Python does seem to have a ['slot'](https://github.com/graphql-python/graphql-core/blob/master/graphql/error/base.py#L13) for this.

Users could add the field using a wrapper, but it looks like something that could easily be added to the class – unless I'm missing something!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.