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

Include `extensions` field in GraphQLError.

オープン
#203 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
372
フォーク
175
PR マージ指標
30日以内にマージされた PR はありません

説明

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!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The issue points to graphql/error/base.py, especially the GraphQLError slot around line 13; start there and compare it with the GraphQL documentation for the extensions field. Add support for exposing extensions on GraphQLError, and consider how the documented field shape should be verified.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
graphql, python
領域
api
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。