I actually made that repo for a different question I wanted to ask here: What's wrong with returning
I actually made that repo for a different question I wanted to ask here: What's wrong with returning a durable object stub as an "rpc target" and accessing it in a different worker?
https://github.com/hntrl/durable-object-rpc-repro
my thinking would be that FooDurableObject would behave similarly to an RpcTarget where it can be returned from its parent worker, and I can access the methods on it from a service binding. If I try and do that though I get a message like
https://github.com/hntrl/durable-object-rpc-repro
my thinking would be that FooDurableObject would behave similarly to an RpcTarget where it can be returned from its parent worker, and I can access the methods on it from a service binding. If I try and do that though I get a message like
Could not serialize object of type "DurableObject"