import { invalidateCache } from "https://deno.land/x/obsidian@v8.0.0/src/invalidateCacheCheck.ts";
Invalidates cache in redis based on the mutation type.
Parameters
- Object containing hash val in redis as key and normalized object as value.
Ex: {
7Movie: {id: 7, __typename: Movie, title: Ad Astra, releaseYear: 2019} }