Skip to content

Commit

Permalink
fixing greetings.graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed Apr 10, 2024
1 parent f8e351f commit a88b5f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/greetings.graphql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
schema @server @upstream @link(src: "greetings.proto", type: Protobuf) {
schema @server @upstream @link(src: "../src/generator/proto/greetings.proto", type: Protobuf) {
query: Query
}

Expand All @@ -7,7 +7,7 @@ input Greetings__HelloRequest @tag(id: "greetings.HelloRequest") {
}

type Greetings {
sayHello(helloRequest: Greetings__HelloRequest!): Greetings__HelloReply! @grpc(method: "greetings.Greeter.SayHello")
sayHello(helloRequest: Greetings__HelloRequest!): Greetings__HelloReply! @grpc(method: "greetings.Greeter.SayHello", baseURL: "http://localhost")
}

type Greetings__HelloReply @tag(id: "greetings.HelloReply") {
Expand Down

0 comments on commit a88b5f2

Please sign in to comment.