feel like I'm missing something obvious, but does ...
# prisma-whats-new
t
feel like I'm missing something obvious, but does the current user query like query { user { id } } ignore cache when using Apollo? Apollo docs says fetchPolicy defaults to cache-first, so I expected it to return a cached result when for example restarting app.
n
I now heard multiple reports about the
user
query not functioning correctly with regards to the
fetchPolicy
, do you have a reproducible example for this that could be supplied as a bug report to
apollo-client
?
t
I'll see what I can do. What happens is that a React (Native) component that is decorated with a simple current user query doesn't get fed a cached data prop on first render after restart of app, which is what I would expect to happen.