mirror of
https://github.com/kou029w/intro-to-graphql.git
synced 2025-01-18 08:05:09 +00:00
fix
This commit is contained in:
parent
9d7015a4c8
commit
1ce617bf4c
1 changed files with 1 additions and 42 deletions
43
README.md
43
README.md
|
@ -192,48 +192,7 @@ type PokemonDimension {
|
|||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
```graphql
|
||||
"""ポケモンを表します"""
|
||||
type Pokemon {
|
||||
}
|
||||
|
||||
"""ポケモンの寸法を表します"""
|
||||
type PokemonDimension {
|
||||
}
|
||||
```
|
||||
|
||||
オブジェクトの種類
|
||||
|
||||
---
|
||||
|
||||
```graphql
|
||||
"""
|
||||
ポケモンを表します
|
||||
"""
|
||||
type Pokemon {
|
||||
"""
|
||||
このオブジェクトのID
|
||||
"""
|
||||
id: ID!
|
||||
|
||||
"""
|
||||
このポケモンの名前
|
||||
"""
|
||||
name: String
|
||||
|
||||
"""
|
||||
このポケモンの分類
|
||||
"""
|
||||
classification: String
|
||||
|
||||
"""
|
||||
このポケモンの高さの最大と最小
|
||||
"""
|
||||
height: PokemonDimension
|
||||
}
|
||||
```
|
||||
オブジェクトの種類とその構造を宣言できる
|
||||
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue