title: CreateReadStream is not a function
body: <p>Hi I'm trying to upload a file using GraphQL and I'm getting the following error</p>
  <pre><code>Error: GraphQL error: createReadStream is not a function
      at new ApolloError (bundle.esm.js:63)
      at Object.next (bundle.esm.js:1004)
      at notifySubscription (Observable.js:135)
      at onNotify (Observable.js:179)
      at SubscriptionObserver.next (Observable.js:235)
      at bundle.esm.js:866
      at Set.forEach (&lt;anonymous&gt;)
      at Object.next (bundle.esm.js:866)
      at notifySubscription (Observable.js:135)
      at onNotify (Observable.js:179)
  </code></pre>
  <p>The following is my mutation</p>
  <pre><code>mutation UploadProfile($file: Upload!) {
    upload(file: $file) {
      id
    }
  }
  </code></pre>
  <p>And the following is how I post my image</p>
  <pre><code>client.mutate&lt;UploadProfile, UploadProfileVariables&gt;({
          mutation: UploadProfileMutation,
          variables: {
            file: profileProperties.file,
          },
          context: {
            headers: {
              Authorization: `Bearer ${token}`,
            },
          },
        })
  </code></pre>
  <p>I don't know why it's not working and I'm not finding the solution on the internet. Please help</p>