Closed SimenB closed 2 years ago
By using v4, type declarations that only exist there gets pulled in, causing errors in fastify v3.
https://www.runpkg.com/?mercurius-upload@5.0.0/dist/index.d.ts#12
We path is to update to v4, not to support v3, I'm sorry
https://github.com/mercurius-js/mercurius-upload/blob/2f8d85ec6db00742ac803c4bd67537efe4af8ecb/index.ts#L36
And the code in this repo would remain identical, so supporting both v3 and v4 shouldn't be a burden
By using v4, type declarations that only exist there gets pulled in, causing errors in fastify v3.
https://www.runpkg.com/?mercurius-upload@5.0.0/dist/index.d.ts#12