0xPlaygrounds / 0xPlaygrounds/subgrounds

Generating typing for subgraphs

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

説明

**Is your feature request related to a problem? Please describe.**
I want type information when using subgraph and fieldpath objects.

**Describe the solution you'd like**
Generating `.pyi` files for full type information, likely thru a CLI command in `contrib`.

**Describe alternatives you've considered**
- Using notebooks
- Large projects are easier with packages

**Additional context**
Likely would be a tall ordering and would only work on CLI or first time `.load_subgraph` is invoked.

**Implementation checklist**
- [ ] Task 1

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

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

調査の方向性

Look at the existing CLI commands in the `contrib` module and the `load_subgraph` method to understand how subgraphs and fieldpath objects are currently handled. The goal is to generate `.pyi` type stub files, which requires understanding the GraphQL schema introspection and Python's typing system. Check if there are existing tests for type generation or subgraph loading to see the expected output format.

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

評価

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

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

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