Refactor GraphQL File Upload Implementation #2838
Labels
module/graphql
Issues related to Ballerina GraphQL module
Points/1.5
Team/PCM
Protocol connector packages related issues
Type/Improvement
Description:
When uploading a file using the ballerina GraphQL package, the multipart request should follow the GraphQL Multipart Form Request Specification. According to this, the map field values in multipart request, should be preceded by the word
variables
.Ex:
But the graphql package accept the following format:
here,
-F map = {"0": [file]}
should be-F map = {"0": [variables.file]}
The text was updated successfully, but these errors were encountered: