aerogear / datasync-starter

GraphQL Low Code React and Node.js DataSync Application template
http://graphback.dev
MIT License
32 stars 38 forks source link

Delete task not working #209

Closed Hasan-git closed 4 years ago

Hasan-git commented 5 years ago

Delete task not updating the cache.

deleteTask(id: ID!): ID

should be replaced by

deleteTask(id: ID!): Task

then fix deleteTask resolver

wtrocki commented 5 years ago

💯 Good catch! I think our cache helpers are configured to work with both cases, but we might just have bug somewhere in the app.

StephenCoady commented 5 years ago

This bug should be fixed in https://github.com/aerogear/offix/pull/48, specifically: https://github.com/aerogear/offix/pull/48/files#diff-54f1fc59153563ec58bc4ff6964945f1.

We haven't done full releases yet. Once we do and all dependencies are updated this should go away. There will also be some small updates to the app.

wtrocki commented 4 years ago

Fixed