Skip to content

Commit

Permalink
Document the name field (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-yevsyukov committed Jan 18, 2022
1 parent 3273e65 commit 9303013
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ import "spine/validation/rule.proto";
message MessageValidation {
option (entity).kind = PROJECTION;

// The name of the message type for which validation rules are specified.
protodata.TypeName name = 1;

// Partial information about the type.
//
// May contain only the type's own data, such as docs, declaring file, etc. Does not contain
// information about nested elements, such as fields and options.
// May contain only the type's own data, such as docs, declaring file, etc.
//
// Does not contain information about nested elements, such as fields and options.
//
protodata.MessageType type = 2;

Expand Down

0 comments on commit 9303013

Please sign in to comment.