Closed nashby closed 2 years ago
We already have this conversion at the transport layer: https://github.com/anycable/anycable-client/blob/1ec7cc4db83b07656504a9b0e184731b6d0aa920/packages/core/websocket/index.js#L93-L95
How do you setup the client?
Oh I see. I'm using this demo https://github.com/anycable/anycable_rails_demo/pull/21 Given the link you posted it's strange that it doesn't work. I'll double check
I'm using this demo anycable/anycable_rails_demo#21
This PR uses an older version of anycable-client
libs; try upgrading.
While I was working on this I discovered that protobuf data is received as
ArrayBuffer
which is not supported by protobuf.js (more info here)