graphql / graphql/graphql.github.io

Adding a quick link to the source code / schema of example at docs

Offen
#1,112 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
✏️ Editorial 💄 Enhancement
Vorherrschende Sprache
TypeScript
Sterne
889
Forks
1.5k
Ø Merge
4 T. 12 Std.
Gemergte PRs (30 T.)
21

Beschreibung

Hi team,

I am trying to learn `GraphQL` by reading [the docs](https://graphql.org/).

While I personally found the [interactive examples](https://graphql.org/learn/queries/#fields) quite useful, I was also quite curious about the actual schema / data behind the interactive examples.

As discussed in #728, I believe [the schema and data can be found here at `graphql.github.io/site/_core/swapiSchema.js`](https://github.com/graphql/graphql.github.io/blob/739a1c913fa4a88ac7c64c93ce68fc64ec0cbd96/site/_core/swapiSchema.js#L21)

However, I wonder if we could make the documentation more user-friendly by adding a quick link at the top of the documentation page, say, something like `You can find the schema and data behind these interactive examples here`.

Anyway, thanks again for your tremendous efforts in maintaining the library and docs!

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne bei den interaktiven Beispielen in der Learn Queries-Dokumentation, insbesondere im Abschnitt Fields, und prüfe das verlinkte Schema und die Daten in site/_core/swapiSchema.js. Die Aufgabe ist erledigt, wenn die Dokumentationsseite einen Schnelllink enthält, der erklärt, wo das Schema und die Daten hinter den Beispielen zu finden sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
graphql
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
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.