graphql-python / graphql-python/graphene
Exporting schema with type that inherits multiple interfaces outputs invalid schema
- 主要言語
- Python
- スター
- 8.2k
- フォーク
- 818
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Note: for support questions, please use stackoverflow**. This repository's issues are reserved for feature requests and bug reports.
* **What is the current behavior?**
When converting a schema object to string containing type with multiple interfaces results to invalid notation with comma as separating character:
`type Potato implements Food, Vegetable ...`
* **What is the expected behavior?**
`type Potato implements Food & Vegetable ...`
* **Please tell us about your environment:**
graphene: 2.1.8
graphene-django: 2.10.1
graphene-federation: 0.1.0
Platform: Mac
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、インターフェースリストに対する Graphene の schema-object-to-string エクスポートパスを追跡します。複数のインターフェースを実装する型で問題を再現し、生成された記法を、アンパサンドで区切られた期待される形式と比較します。エクスポートされたスキーマが有効であり、既存のスキーマシリアライゼーションテストでこのケースがカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100