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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions