Open AmoDinho opened 5 years ago
[
{
"name": "State",
"value": true,
"subHooks": []
},
{
"name": "State",
"value": "A Raisin in the Sun",
"subHooks": []
},
{
"name": "State",
"value": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet,",
"subHooks": []
},
{
"name": "State",
"value": " Hansberry, L",
"subHooks": []
},
{
"name": "State",
"value": "A",
"subHooks": []
},
{
"name": "State",
"value": "342",
"subHooks": []
},
{
"name": "State",
"value": "3",
"subHooks": []
},
{
"name": "State",
"value": "https://pmb-plus-backend-dev-attachmentsbucket-jd0uqhf65247.s3.amazonaws.com/public/1570791280609-download%20%286%29.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIARMGU3NNVGHD4R4M4%2F20191011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191011T105444Z&X-Amz-Expires=900&X-Amz-Security-Token=AgoJb3JpZ2luX2VjEOv%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIFpL621jla%2FXOqqgCLTdZwIXkz%2BBvTdLNNLStqCG8KOEAiBH8LmFknD3ALDLNE6x2c9OTgm37LLQLHwzVbugNVB5eyqvBQjU%2F%2F%2F%2F%2F%2F%2F%2F%2...",
"subHooks": []
},
{
"name": "State",
"value": "Queenstown",
"subHooks": []
},
{
"name": "State",
"value": "9780679755333",
"subHooks": []
},
{
"name": "State",
"value": "BCOM:Supply Chain",
"subHooks": []
},
{
"name": "State",
"value": "RUY093",
"subHooks": []
},
{
"name": "State",
"value": "NMU",
"subHooks": []
},
{
"name": "Mutation",
"subHooks": [
{
"name": "Context",
"value": {
"client": "Object"
},
"subHooks": []
},
{
"name": "State",
"value": {
"called": true,
"loading": false,
"data": {
"addBook": {
"price": "342",
"description": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet,",
"image": "",
"edition": "3",
"title": "A Raisin in the Sun",
"author": " Hansberry, L",
"ISBN": "9780679755333",
"grade": "A",
"location": "Queenstown",
"univeristy": "NMU",
"course": "RUY093",
"degree": "BCOM:Supply Chain",
"__typename": "Book"
}
},
"client": "Object"
},
"subHooks": []
},
I have a mutation that has an image variable that is not reading the value from state. I'm sending an image to AWS' s3 and then getting the url of the image and trying to set it to state. The variable is set in then state with the URL from S3 but Apollo is not reading it.
All the other variables are being read though.
Here is my code: