cosmo icon indicating copy to clipboard operation
cosmo copied to clipboard

feat: support file upload in router

Open pedraumcosta opened this issue 1 year ago • 0 comments
trafficstars

Motivation and Context

This PR makes possible to support a file upload according to spec:

https://github.com/jaydenseric/graphql-multipart-request-spec

This PR depends on this PR from graphql-go-tools:

https://github.com/wundergraph/graphql-go-tools/pull/758

This PR parse multiform part http requests with files, saves in the file system and passed the file information along the graphql tools library to be forwarded to a subgraph that supports files uploads. In order to make tests possible, I added file uploads operations to the demo employee subgraph and some enhanced methods to test infrastructure.

TODO

pedraumcosta avatar May 08 '24 12:05 pedraumcosta