jaydenseric / graphql-upload

Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
https://npm.im/graphql-upload
MIT License
1.43k stars 131 forks source link

An example without using express (apollo server only) #249

Closed omar-dulaimi closed 3 years ago

omar-dulaimi commented 3 years ago

Hello,

Is it possible to get a working example of integrating this with a pure apollo server?

I don't use apollo server express, but couldn't find anything in that regard.

Thanks in adavnce

jaydenseric commented 3 years ago

What do you mean by "pure apollo server"?

omar-dulaimi commented 3 years ago

Like without using a middleware approach. Just plain apollo server; no express, no koa, etc.

jaydenseric commented 3 years ago

You should be able to get that going, but I can't recall off the top of my head the exact code. I suggest asking Apollo for assistance with their products.

Feel free to share the answer here once you figure it out in case others are wondering the same thing.