support superjson transformer #2008
charkour
started this conversation in
Feature Requests & 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.
-
When serializing data sent from payload, it would be great to add a custom transformer, like
superjson
. Is this currently possible?I think it's possible to pass
superjson
and the revive argument to JSON.parse, but I'm not sure if payload exposes the stringify method.Thank you
Beta Was this translation helpful? Give feedback.
All reactions