This repository was archived by the owner on Feb 7, 2026. It is now read-only.
Repository navigation
Support to async-cache-dedupe transformer cache option and SuperJSON #424
yangricardo
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello @Asjas ,
Would be nice to have the support to transformer property, like shown on async-cache-dedupe
You could add transformer object property on your
./src/types.ts, like:And pass for
createPrismaRedisCache, likeIt's indeed that SuperJSON library has better support for Prisma types, specially, Dates and Decimals, as shown in the docs:

All reactions