0xPlaygrounds / 0xPlaygrounds/subgrounds

Generating typing for subgraphs

Offen
#41 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
73
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
graphql, python
Bereich
backend-api-design, cli, tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.