Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

Add note about extending File (#3692)

authored by

Jovi De Croock and committed by
GitHub
d43bbfb1 7f9cad50

+3
+3
docs/advanced/persistence-and-uploads.md
··· 126 126 [file input](https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications), 127 127 for example. 128 128 129 + > **Note:** If you are using your own version of `File` and `Blob` ensure you are properly extending the 130 + > so it can be properly identified as a file. 131 + 129 132 The `@urql/core@4` package supports File Uploads natively, so we won't have to do any installation 130 133 or setup work. When `urql` sees a `File` or a `Blob` anywhere in your `variables`, it switches to 131 134 a `multipart/form-data` request, converts the request to a `FormData` object, according to the