prisma-redis-middleware
prisma-redis-middleware copied to clipboard
Prisma Middleware for caching queries in Redis
[prisma-redis-middleware](https://github.com/Asjas/prisma-redis-middleware) already works just fine on Node 18, so this version should be added to the engines property to allow others to install and run this dependency without error messages....
**Describe the bug** I copied the code form README page and although the code is working well, typescript gives me an error. Code : ```ts import Prisma from 'prisma'; import...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ioredis](https://togithub.com/luin/ioredis) | [`5.2.2` -> `5.2.3`](https://renovatebot.com/diffs/npm/ioredis/5.2.2/5.2.3) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.21.1` -> `0.22.1`](https://renovatebot.com/diffs/npm/vitest/0.21.1/0.22.1) | [](https://docs.renovatebot.com/merge-confidence/)...
**Describe the bug** Currently, the keys are being added to the root, without a namespace identifier, if you use a GUI this will be your view (available in screenshot section)...
Currently, custom `MiddlewareParams` is being used, but this makes an type error: `Property 'model' is optional in type 'MiddlewareParams' but required in type 'MiddlewareParams'.` because Prisma only have to use...
Currently type of `excludeModels` is `string[]`, to use `Prisma.ModelName[]`, we can ensure right input
**Describe the bug** When using this config the `cacheTime` refers to seconds, not milliseconds as described in README. ```js const CacheMiddleware = createPrismaRedisCache({ cacheTime: 10, onHit: (key) => { console.log('hit',...
I'm unable to add this project because it's missing Node 18 as one of the engines. ``` error [email protected]: The engine "node" is incompatible with this module. Expected version "^14.x...
I can't propose a solution for it right now, but I think it is a valuable issue to map over here once... With a pseudo schema like ```prisma model User...