You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolvers need to return objects that we can use for Apollo caching in the UI. For example, addProject mutation should return a project object (once it's successful):
If it's unsuccessful, it should return an error object that the UI will handle, instead of silently failing.
The text was updated successfully, but these errors were encountered:
nenadjaja
changed the title
Make mutations resolvers compatible with optimistic UI
Make mutations resolvers that are compatible with optimistic UI
Feb 17, 2020
Resolvers need to return objects that we can use for Apollo caching in the UI. For example,
addProject
mutation should return a project object (once it's successful):If it's unsuccessful, it should return an error object that the UI will handle, instead of silently failing.
The text was updated successfully, but these errors were encountered: