grpc.io icon indicating copy to clipboard operation
grpc.io copied to clipboard

Basics tutorial issue

Open lehai2909 opened this issue 11 months ago • 1 comments

Please help clarify where this 'stub' variable is declare? I can't find it in the code. Document link: https://grpc.io/docs/languages/node/basics/

Image

lehai2909 avatar Jan 17 '25 06:01 lehai2909

That looks like an error. It should say client like the other example requests do. You can see the call to client.getFeature here in the full example code. The client/stub is the object created in the "Creating a stub" section

murgatroid99 avatar Jan 22 '25 19:01 murgatroid99