mirror of
https://github.com/kou029w/intro-to-graphql.git
synced 2025-01-18 16:08:03 +00:00
fix(変数)
This commit is contained in:
parent
d91d5d3555
commit
fc16c311ab
1 changed files with 1 additions and 9 deletions
10
README.md
10
README.md
|
@ -550,15 +550,7 @@ query ($name: String!) { # <= 変数の定義
|
||||||
```
|
```
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
変数
|
`$name` … 変数 (例えば `{ "name": "Pikachu" }` によって代入)
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"name": "Pikachu"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
`$name` … 変数
|
|
||||||
`String!` … 型
|
`String!` … 型
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
Loading…
Add table
Reference in a new issue