apollographql / apollographql/fullstack-tutorial
Downloaded introspectionSchema.json File is not completed
- Ngôn ngữ chính
- TypeScript
- Star
- 1.2k
- Fork
- 808
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Mở Apollo Playground tại https://apollo-fullstack-tutorial.herokuapp.com/graphql và tái hiện việc tải xuống Schema bằng introspectionSchema.json. So sánh tài liệu đã tải xuống với các lỗi được báo cáo và xác minh rằng kết quả chứa data.__schema.types, để có thể sử dụng kết quả đó cho việc tạo model Android mà không cần tự thêm wrapper.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, graphql
- Lĩnh vực
- api
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100