apollographql / apollographql/fullstack-tutorial

Downloaded introspectionSchema.json File is not completed

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

説明

for instance, I will use
https://apollo-fullstack-tutorial.herokuapp.com/graphql

when I manually download the schema from the playground (I mean the right side Schema button and then pressed on download btn ) to use it for an android client the introspectionSchema.json that I got has many errors

when I use the JSON file to generate models always got this error
****Failed to locate schema root node `__schema`**
also if I put the whole JSON object inside these
`
{
"data": {
"__schema": { here }
}
}`

then i got this error
****Required value 'types_' (JSON name 'types') missing at $.data.__schema**

so i realised that the downloaded json file is uncompleted for some reason

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

https://apollo-fullstack-tutorial.herokuapp.com/graphql の Apollo Playground を開き、introspectionSchema.json を使って Schema のダウンロードを再現します。ダウンロードしたドキュメントを報告されているエラーと比較し、結果に data.__schema.types が含まれていることを確認してください。これにより、手動で wrapper を追加せずに Android モデルの生成に使用できます。

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

評価

技術スタック
android, graphql
領域
api
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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