This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
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
-
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:
Beta Was this translation helpful? Give feedback.
All reactions