gQuery
gQuery copied to clipboard
Mutations should auto update cache
Basically since the cache is pretty naive, you could easily just have the return update it's given object in the cache.
Not going to happen the way things exist now. It could, but tbh it's very easy to auto update. Maybe you could have an api that looks like....
runMutation({variables:gqlvars, store: store, optimistic: func})
I guess that would do it. 🤔