RPC Durable Object not working
Can somebody help me finding out why my RPC Durable Object is not working (locally, newest wrangler)? I basically have this (simplified) setup:
When I try to call the
create
function now, it fails with TypeError: example.create is not a function
. Again, simplified:
1 Reply
Found out the problem: Had to update the compatibility date in my wrangler.toml - now it works as expected.
The warning regarding this was only showing up during a remote dev session, not locally. Not sure if something on my side prevented it from showing up, but thanks to the warning in the remote dev session I found it out.