You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had explained this error to @DjDeveloperr on Discord.
This issue is due to TypeIds not being shared (and thus "stable") between deno and the extension DLL, so ref downcasting and other such operations (e.g: GothamState access) may fail.
This and #10670 will have to be fixed by a more comprehensive plugins rewrite (which I have outlined and discussed in #dev)
Ouch, yeah - noticed that basically there are object duplicated in plugin and Deno, due to linking Deno core, which also exploded the size of the plugin.
I see now what is the cause, this would need to be simplified to a more C like interface that relies on some form of dynamic traits.
What I really like about the new API is that it allows exposing arguments and return types naturally to Ops (based on serde::v8) and that it takes care of the Async dispatching machinery. I hope the fixed solution will try to keep these features in some form...
In
Deno 1.10.1
returning an error from an Op causes an error in Deno.This is fixable by manually configuring the error resolving callback as:
Expecting that the error class resolving callback should be set by default.
The text was updated successfully, but these errors were encountered: