Skip to content

Error in sample .proto file #1066

@lavinio

Description

@lavinio

On the page https://github.com/hasura/learn-graphql/blob/master/tutorials/graphql/intro-graphql/tutorial-site/content/graphql-vs-grpc.md there is a typo. The field numbers in the sample .proto file are all 1 but instead should each be unique.

Instead of

message UserResponse {
  string name = 1;
  int32 age = 1;
  string address = 1;
}

it should read

message UserResponse {
  string name = 1;
  int32 age = 2;
  string address = 3;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions