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: README.md
+5-42Lines changed: 5 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,6 @@ Minimal GraphQL client supporting Node and browsers for scripts or simple apps
28
28
-[Cookie support for `node`](#cookie-support-for-node)
29
29
-[Using a custom `fetch` method](#using-a-custom-fetch-method)
30
30
-[Receiving a raw response](#receiving-a-raw-response)
31
-
-[File Upload](#file-upload)
32
-
-[Browser](#browser)
33
-
-[Node](#node)
34
31
-[Batching](#batching)
35
32
-[Cancellation](#cancellation)
36
33
-[Middleware](#middleware)
@@ -39,6 +36,7 @@ Minimal GraphQL client supporting Node and browsers for scripts or simple apps
39
36
-[Ignore](#ignore)
40
37
-[All](#all)
41
38
-[Knowledge Base](#knowledge-base)
39
+
-[Why was the file upload feature taken away? Will it return?](#why-was-the-file-upload-feature-taken-away-will-it-return)
42
40
-[Why do I have to install `graphql`?](#why-do-i-have-to-install-graphql)
43
41
-[Do I need to wrap my GraphQL documents inside the `gql` template exported by `graphql-request`?](#do-i-need-to-wrap-my-graphql-documents-inside-the-gql-template-exported-by-graphql-request)
44
42
-[What's the difference between `graphql-request`, Apollo and Relay?](#whats-the-difference-between-graphql-request-apollo-and-relay)
It is possible with `graphql-request` to use [batching](https://github.com/graphql/graphql-over-http/blob/main/rfcs/Batching.md) via the `batchRequests()` function. Example available at [examples/batching-requests.ts](examples/batching-requests.ts)
@@ -745,6 +704,10 @@ Return both the errors and data, only works with `rawRequest`.
745
704
746
705
## Knowledge Base
747
706
707
+
#### Why was the file upload feature taken away? Will it return?
708
+
709
+
In [this issue](https://github.com/jasonkuhrt/graphql-request/issues/500) we decided to make this library more stable and maintainable. In principal the feature is still in scope of this library and will make a return when we find time to do the feature right.
710
+
748
711
#### Why do I have to install `graphql`?
749
712
750
713
`graphql-request` uses methods exposed by the `graphql` package to handle some internal logic. On top of that, for TypeScript users, some types are used from the `graphql` package to provide better typings.
0 commit comments