Skip to content

Commit 1ee558e

Browse files
authored
adding input/output to readme
1 parent c4de8c7 commit 1ee558e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Open `http://localhost:8080/` at your browser and use.
2121
2222
## Example
2323
24+
#### Input
25+
2426
```graphql
2527
{
2628
echo(message: "Hello World")
@@ -32,6 +34,21 @@ Open `http://localhost:8080/` at your browser and use.
3234
}
3335
```
3436

37+
#### Output
38+
39+
```json
40+
{
41+
"data": {
42+
"echo": "Welcome, Dear Hello World",
43+
"sum": 12,
44+
"s2": 3,
45+
"s3": 62,
46+
"s4": 52,
47+
"s5": 102
48+
}
49+
}
50+
```
51+
3552
## GraphQL Playground
3653

3754
Installing at arch: `yay graphql-playground-electron`

0 commit comments

Comments
 (0)