Skip to content
tRPC

Partners

Interface: TRPCCombinedDataTransformer

On this page

Defined in: packages/server/src/unstable-core-do-not-import/transformer.ts:48

A transformer with one serializer for inputs and another for outputs.

See

https://trpc.io/docs/server/data-transformers#different-transformers-for-upload-and-download

Properties

input

input: InputDataTransformer

Defined in: packages/server/src/unstable-core-do-not-import/transformer.ts:52

Specify how the data sent from the client to the server should be transformed.


output

output: OutputDataTransformer

Defined in: packages/server/src/unstable-core-do-not-import/transformer.ts:56

Specify how the data sent from the server to the client should be transformed.