How can I customize cache key for ROOT_QUERY in Apollo InMemoryCache?
I’m trying to configure InMemoryCache
so that ROOT_QUERY
has the same key whether a variable is null
or undefined
(or not passed at all, but that seems to be the same as undefined
).