Skip to content

Conversation

@grrowl
Copy link

@grrowl grrowl commented Oct 28, 2025

The bind() method returns a new bound function but the code was discarding the return value. This caused 'Illegal invocation' errors when calling Durable Object methods via RPC.

Fixes method binding for Cloudflare Workers RPC calls and this.name property access.

The bind() method returns a new bound function but the code was
discarding the return value. This caused 'Illegal invocation' errors
when calling Durable Object methods via RPC.

Fixes method binding for Cloudflare Workers RPC calls and PartyServer
.name property access.
@grrowl
Copy link
Author

grrowl commented Oct 28, 2025

lol oops wrong repo. but feel free to accept if you like the patch

@grrowl grrowl force-pushed the fix-do-binding branch 2 times, most recently from 042bfec to e2c9a03 Compare October 28, 2025 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant