graphql-hive / graphql-hive/SOFA
Support for Apollo Upload scalar
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 91
- Avg merge
- 5h 10m
- Merged PRs (30d)
- 1
Description
Apollo server v2 supports file uploads as a multipart/form-data request using their Upload scalar https://www.apollographql.com/docs/apollo-server/data/file-uploads/
Right now Sofa seems to hardcode all POST content-types to `application/json`, could we change this to check for Upload scalar and if so use `multipart/form-data` content?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name a file or test; start by tracing where POST content types are selected and compare the behavior with Apollo Server's Upload scalar documentation. Done means requests using Upload are sent as multipart/form-data instead of application/json, with existing POST behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100