tRPCttRPC
Powered by
nightspiteN
tRPC•2y ago•
5 replies
nightspite

How do I exclude properties while returning data?

I basically need to create a dto's that would exclude properties like access keys etc. while returning the data to the client - so basically just striping the object on return. How can that be achieved?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How do I fetch data conditionally?
venegoVvenego / ❓-help
10mo ago
useQuery returning old data with new params
uzelacUuzelac / ❓-help
3y ago
how do I fix this
toadmilkTtoadmilk / ❓-help
2y ago