Closed sittingbool closed 3 years ago
Apollo Server ships with an outdated version of graphql-upload
; you need to disable their implementation and setup the current version of graphql-upload
yourself, otherwise the two graphql-upload
integrations will conflict. Please refer to Apollo for support with their products.
Also, if you are using a monorepo, make sure that all graphql-upload
versions are similar, otherwise Upload
will be registered twice and you'll get Error: There can be only one type named "Upload".
Just encountered that this afternoon.
Hi, I would like to use this with the following setup:
(WEIRD: I had to add graphql-upload in dependencies but every tutorial says it should be part of apollo server)
Code in resolver:
Once I start up the server I am getting an error:
Does anyone know how to solve this?