99designs / 99designs/gqlgen

GraphQL SSE via playground.AltairHandler does not work

Offen
#3,003 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
SSE
Vorherrschende Sprache
Go
Sterne
10.8k
Forks
1.3k
Ø Merge
2 T. 36 Min.
Gemergte PRs (30 T.)
26

Beschreibung

For this example https://gqlgen.com/recipes/subscriptions/

### versions
- `go run github.com/99designs/gqlgen version`? v0.17.45
- `go version`? go1.21.7 darwin/amd64

But standalone Altair GraphQL Client work fine.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue mentions the playground.AltairHandler and a subscription example from the gqlgen documentation. Start by examining the handler implementation in the gqlgen source code, likely under a handler or playground directory. Reproduce the subscription example locally to see the failure. Compare the SSE behavior between the built-in playground and the standalone Altair client to identify the discrepancy.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
go, graphql
Bereich
api, backend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

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