BenZ
BenZ
TtRPC
Created by david on 7/17/2024 in #❓-help
How to treat mongoose/mongodb ObjectIDs as their serialized string values on the frontend?
Thanks! Thats a similar solution to what I have now, but doing the type casting in the procedure return is much simpler. I was hoping to find a way to convert all ObjectIds to strings with a custom transformer, but have not had any luck. Think I will go with this for now! Thanks again.
3 replies