handler
handler copied to clipboard
Handle mutlipart/form-data
This PR should support Multipart form-data file upload requests as specified by https://github.com/jaydenseric/graphql-multipart-request-spec -- which is adopted by the Apollo team. It also works without file uploads as a general handler.
Coverage increased (+2.6%) to 89.231% when pulling 5f3718a5f7508849cc33648407e5022030bb6887 on koblas:master into 59006c0464d5638788d7b0051ea5c959e0d84253 on graphql-go:master.
@chris-ramon Nudge - would it be possible to have this looked at?
hi all, When will it merge to master ?
@chris-ramon Any chance that this could get a review, will clean up the conflict shortly.
@koblas conflicts
@appleboy Conflicts resolved... Hopefully, someday @chris-ramon will feel like merging.
Can we merge this?
While waiting this being merged, found an alternative handler supporting mutlipart/form-data
created by @asif-mahmud.
Originally posted at https://github.com/graphql-go/graphql/issues/607 Library is at https://github.com/asif-mahmud/gingraphql
Just provide one more option 😃