prisma-redis-middleware icon indicating copy to clipboard operation
prisma-redis-middleware copied to clipboard

Cache doens't invalidate when setting `keyPrefix` option

Open Gusb3ll opened this issue 2 years ago • 0 comments

Describe the bug When setting the keyPrefix to any value the cache doen's get invalidate, in this screenshot the value is app:dev:jobs:prisma:

Expected behavior Cache should invalidate on mutation with any keyPrefix string set

Screenshots With keyPrefix image

W/o keyPrefix image

Additional context This is run from the example and the redis and db has been flushed before executing

Gusb3ll avatar Oct 03 '23 14:10 Gusb3ll