-
Notifications
You must be signed in to change notification settings - Fork 774
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow
getPlatformProxy
to handle RPC calls returning objects
allow the `getPlatformProxy` to handle RPC calls returning objects by making sure that the miniflare magic proxy can take into account methods set via symbols (in the case or RPC objects specifically `Symbol.dispose` and `Symbol.asyncDispose`) additionally add more RPC test coverage in miniflare
- Loading branch information
1 parent
ff6b38b
commit c65d040
Showing
5 changed files
with
131 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"miniflare": patch | ||
--- | ||
|
||
fix: Allow the magic proxy to proxy objects containing functions indexed by symbols | ||
|
||
In https://github.com/cloudflare/workers-sdk/pull/5670 we introduced the possibility | ||
of the magic proxy to handle object containing functions, the implementation didn't | ||
account for functions being indexed by symbols, address such issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters