Skip to content

Does Pioneer support GraphQL file upload? #103

Discussion options

You must be logged in to vote

Pioneer does not have built-in support for GraphQL File Upload.

Pioneer took many similar approaches and even some intentional design decisions to @apollo/server. GraphQL file upload isn't part of @apollo/server since v3 due to some security concerns allowing multipart/form-data particularly CSRF Attacks.

In addition, this blog post somewhat explained the flaws in having file upload to be as part of GraphQL server and other better alternatives for doing file uploads with GraphQL.

In short, it is suggested that we "Separate the GraphQL Layer from the Service Layer".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by d-exclaimation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
1 participant