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
will build fine, but on runtime, gRPC calls will fail with:
Trace: Error: Incorrect arguments passed
at Proxy.checkOptionalUnaryResponseArguments (/xxxxxxx/api/node_modules/.pnpm/@[email protected]/node_modules/@grpc/grpc-js/src/client.ts:229:15)
at Proxy.makeUnaryRequest (/xxxxxxx/api/node_modules/.pnpm/@[email protected]/node_modules/@grpc/grpc-js/src/client.ts:277:12)
at Proxy.checkBulkPermissions
There's multiple overloads of the checkBulkPermissions function. We're then patching over the client using promisify, and I think it's effectively selecting the wrong overload, which is why typescript and the runtime appear to disagree.
hey! I've faced few typing issues when trying to customize some grpc callOptions per operation.
details
considering that
client
is created viav1.NewClient()
. a request with custom callOptionswill build fine, but on runtime, gRPC calls will fail with:
==
but doing it this way
works fine, but will TS type fail 🤔
env
The text was updated successfully, but these errors were encountered: