nightspiteN
tRPC2y 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?
Was this page helpful?