Bart ⚡
Bart ⚡2mo ago

What types of data I could return from tRPC procedure?

As per title, could it be only JSON objects?
1 Reply
corvonotgay
corvonotgay2mo ago
You can use transformers , to serialize/deserialize any data from/into needed format.
Data Transformers | tRPC
You are able to serialize the response data & input args. The transformers need to be added both to the server and the client.