electron-trpc
electron-trpc copied to clipboard
TRPC 11.x.x (next) introduces breaking changes that will break electron-trpc
One of the breaking changes involves transformers, the error manifests itself on client side as:
Uncaught TypeError: Cannot read properties of undefined (reading 'serialize')
With this line being at fault: https://github.com/jsonnull/electron-trpc/blob/784bbb0cf45b0304c9f55bd9827a51c8dd3a5b6a/packages/electron-trpc/src/renderer/ipcLink.ts#L97
I've forked the repository and resolved the compatibility issues with the next version of TRPC: https://github.com/mat-sz/trpc-electron/commit/994bd4132850aedf5031ab402131bcfffa80825e
Since this is an unstable version of TRPC, I'm not submitting this as a pull request. If you'd like me to submit that in the future when 11.x.x becomes stable, please let me know; otherwise I'll continue maintaining this as a fork.