Skip to content

Commit 7b45f0a

Browse files
committed
Fix bad imports in client getting started docs (Fixes #451)
1 parent 28d304d commit 7b45f0a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/en/client/getting-started.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,12 @@ We recommended to inject (`@GrpcClient`) `Stub`s instead of plain `Channel`s.
143143
> **Note:** There are different types of `Stub`s. Not all of them support all request types (streaming calls).
144144
145145
````java
146-
import example.HelloReply;
147146
import example.HelloRequest;
148-
import example.MyServiceGrpc;
147+
import example.MyServiceGrpc.MyServiceBlockingStub;
149148

150-
import io.grpc.stub.StreamObserver;
149+
import net.devh.boot.grpc.client.inject.GrpcClient;
151150

152-
import net.devh.boot.grpc.server.service.GrpcService;
151+
import org.springframework.stereotype.Service;
153152

154153
@Service
155154
public class FoobarService {

0 commit comments

Comments
 (0)