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
More specifically, it looks like calling .bind actually returns an RpcPromise, not a function. And then the actual error occurs when calling the "bound" function (which at this point is actually a promise-like object). I didn't spend too much time looking into that, but that was my initial assessment.
I have a fix for this locally, so I'm creating this issue to have an issue ID to reference in my pull request :)
The text was updated successfully, but these errors were encountered:
When using this package and calling a Service Binding's RPC property - the following error is thrown.
It admittedly took me a while to figure out where this was coming from, but I finally narrowed it down to the following line of code:
otel-cf-workers/src/wrap.ts
Line 51 in 6f1c790
More specifically, it looks like calling
.bind
actually returns anRpcPromise
, not a function. And then the actual error occurs when calling the "bound" function (which at this point is actually a promise-like object). I didn't spend too much time looking into that, but that was my initial assessment.I have a fix for this locally, so I'm creating this issue to have an issue ID to reference in my pull request :)
The text was updated successfully, but these errors were encountered: