If a top level query is cached, root would be null and the cache key is ambiguously. That's why I've added hash(func) to the cache key.
Additionally if root or args including non plain objects, it's possible that object-hash fail.
Coverage decreased (-2.7%) to 93.548% when pulling fcead70329f6d095944961b43146f9686e7bb9c0 on maxnowack:patch-3 into 6dd638089ccd93afccb5916119acda94875d57c1 on Intellicode:master.
Coverage decreased (-2.7%) to 93.548% when pulling fcead70329f6d095944961b43146f9686e7bb9c0 on maxnowack:patch-3 into 6dd638089ccd93afccb5916119acda94875d57c1 on Intellicode:master.
If a top level query is cached,
root
would be null and the cache key is ambiguously. That's why I've addedhash(func)
to the cache key. Additionally ifroot
orargs
including non plain objects, it's possible thatobject-hash
fail.