Skip to content

Feature request: streaming file uploads #2022

@ddevault

Description

@ddevault

gqlgen's file upload support presently depends on http.Request.FormFile, which reads out the entire file into a temporary location, either RAM or on disk. This is more convenient to work with, but for large files, this can introduce a substantial overhead. Users sensitive to these constraints may prefer to use a streaming approach via http.Request.MultipartReader, which should be facilitated by gqlgen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions