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: file upload #37

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Feature: file upload #37

wants to merge 3 commits into from

Conversation

lorado
Copy link
Contributor

@lorado lorado commented Jan 20, 2019

In my project I decided to upload files via graphql, and not separately with usual controllers. So I did some research and found some helpful links:

As there is no possibility to add a middleware from outside of this library, I thought it would be cool, if implementation would be in the library directly.

The implementation of support for multipart request ist pretty simple (thanks to graphql-upload). With adoption to laravel specific classes it works like a charm (thanks to laravel-graphql-upload)

I currently have 3 PR - there are a little merge conflict (some empty lines were removed/added, and git cant handle it...), so when the stages comes, that master is not compatible with this PR, I'll do a new merge.

If you have some improvement ideas, let me know

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

Successfully merging this pull request may close these issues.

None yet

1 participant