Skip to content

Commit 8bd2e3d

Browse files
committed
chore: add all query example
1 parent a56108b commit 8bd2e3d

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

examples/queries/queryAll.graphql

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
query QueryUser {
2+
externalUsers {
3+
id
4+
name
5+
email
6+
username
7+
phone
8+
website
9+
company {
10+
catchPhrase
11+
bs
12+
}
13+
}
14+
user(id: 1) {
15+
id
16+
name
17+
email
18+
role
19+
permissions
20+
tags
21+
skillCategories
22+
products {
23+
id
24+
name
25+
}
26+
recentActivity {
27+
... on Post {
28+
postId: id
29+
title
30+
authorId
31+
}
32+
... on Comment {
33+
commentId: id
34+
content
35+
authorId
36+
}
37+
}
38+
profile {
39+
displayName
40+
timezone
41+
theme
42+
}
43+
bio
44+
age
45+
}
46+
}

0 commit comments

Comments
 (0)