Upgrade apollo_upload_server gem to 2.0.2
What does this MR do?
The MR bumps the version of the apollo_upload_server
gem to the latest release. The release includes some changes contributed as a bug fix for #228657 (closed).
QA changes
Visit http://127.0.0.1:3001/-/graphql-explorer and paste in the following GraphQL call and push the big play button in the UI to run it:
mutation {
designManagementUpload(input: { files: [""], projectPath: "root/test", iid: "2" }) {
designs {
image
}
errors
}
}
Substituting the values for projectPath
for a project full path on your localhost, and iid
for an issue iid within that project.
On master
this results in a 500
error.
On this branch it results in the following response:
{
"errors": [
{
"message": "\"\" is not a valid upload",
"locations": [
{
"line": 40,
"column": 33
}
],
"path": [
"mutation",
"designManagementUpload",
"input",
"files"
],
"extensions": {
"code": "argumentLiteralsIncompatible",
"typeName": "CoercionError"
}
}
]
}
Uploading a design file through the Design Management section of the issue should still work.
Does this MR meet the acceptance criteria?
Conformity
Edited by Luke Duncalfe