t
tRPC
M
tRPC
•
2y ago
marclp
How to serialize and deserialize an object of a custom class?
I have a custom class and i want to send objects of it over trpc
, but the serialization is not working properly
. The date fields are being converted to strings
.
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,061
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
No replies yet
Be the first to reply to this message
Join
Similar Threads
Can someone explain to me how `deserialize` works in `input` of `transformer`?
P
PipetteBlower / ❓-help
2y ago
How to ignore `input` validation and just pass in an object with interfaces?
L
lukas / ❓-help
3y ago
Add a custom method with parameter to the result object
A
Answer Overflow / ❓-help
3y ago
How to infer type of a nested object from app router output?
B
boney / ❓-help
3y ago