Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the file field crash issue on node 13 #2780

Merged
merged 3 commits into from
Apr 20, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/fields/src/types/File/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ title: File

Support files hosted in a range of different contexts, e.g. in the local filesystem, or on a cloud based file server.

> **Important:** As of this writing (April 2020), an upstream [issue](https://github.com/apollographql/apollo-server/issues/3508) with `apollo-server`'s dependencies can cause a server crash when using this field (regardless of adapter) with **Node 13 only**. To work around this, use Node 12 or below _or_ add the following to your `package.json`:
>
> ```js title=package.json
> "resolutions": {
> "graphql-upload": "^10.0.0"
> }
> ```
>
> You can track this issue [here](https://github.com/keystonejs/keystone/issues/2101).

## Usage

```js
Expand Down