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

Feature request: file uploads #77

Open
vladinator1000 opened this issue Feb 10, 2022 · 2 comments
Open

Feature request: file uploads #77

vladinator1000 opened this issue Feb 10, 2022 · 2 comments

Comments

@vladinator1000
Copy link

Hello there, I'm quite a fan of Benzene, great work on the library! I'm porting an app to Cloudflare Workers. It uses Apollo upload client which is based on this spec https://github.com/jaydenseric/graphql-multipart-request-spec

Would you be interested in collaborating on this for Benzene?

@hoangvvo
Copy link
Owner

It is likely that file upload won't live in the core package as it is not in the official spec. But it can totally be integrated as a "middleware" or something run before going into the GraphQL handler (similar to how https://github.com/jaydenseric/graphql-upload works).

I don't have a use case for Cloudflare Workers now but would love to give it a try!

@hoangvvo
Copy link
Owner

Good resource on this https://walshy.dev/blog/21_09_10-handling-file-uploads-with-cloudflare-workers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants