Skip to content

1-1-1 Best Practice #215

Closed
Closed
@git-torrent

Description

@git-torrent

Your example shows

message StudentID {
  string value = 1;
}

Later on subsequent example:

message Student {
  StudentId id = 1;
  FullName name = 2;
}

Where StudentID suddenly changes to StudenId.

I guess the correct one is StudentId, because it is safe for various CamelCase to snake_case converters (including your own in JSON Formatter, e.g. C# FromJsonName) would produce student_id instead of student_i_d.

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