You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/file_uploads.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,12 +43,13 @@ class MyController
43
43
}
44
44
```
45
45
46
-
Of course, you need to use a GraphQL client that is compatible with multipart requests. The GraphQL client must send the file using the Upload type.
46
+
Of course, you need to use a GraphQL client that is compatible with multipart requests. See [jaydenseric/graphql-multipart-request-spec](https://github.com/jaydenseric/graphql-multipart-request-spec#client) for a list of compatible clients.
47
+
48
+
The GraphQL client must send the file using the Upload type.
47
49
48
50
```
49
-
mutation upload($file: Upload!) {
50
-
upload(file: $file)
51
-
}
51
+
mutation upload($file: Upload!) {
52
+
upload(file: $file)
53
+
}
52
54
```
53
55
54
-
See [jaydenseric/graphql-multipart-request-spec](https://github.com/jaydenseric/graphql-multipart-request-spec#client) for a list of compatible clients.
0 commit comments