Explorar o código

Remove invalid command line args from the example (#1496)

These two args has been removed since 1.8 and is on by default. Passing in these two args will result in the grpc stub not being generated at all.
Photon cat %!s(int64=3) %!d(string=hai) anos
pai
achega
4a1fab11cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/basic-tutorial.md

+ 1 - 1
docs/basic-tutorial.md

@@ -167,7 +167,7 @@ $ protoc Sources/Examples/RouteGuide/Model/route_guide.proto \
     --swift_opt=Visibility=Public \
     --swift_out=Sources/Examples/RouteGuide/Model \
     --plugin=./.build/debug/protoc-gen-grpc-swift \
-    --grpc-swift_opt=Visibility=Public,AsyncClient=True,AsyncServer=True \
+    --grpc-swift_opt=Visibility=Public \
     --grpc-swift_out=Sources/Examples/RouteGuide/Model
 ```