Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions accrescent/console/v1/user.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,13 @@
option java_package = "app.accrescent.console.v1";

// A console user.
message User {
// The user's unique ID.
optional string id = 1 [(buf.validate.field).required = true];

// The user's email.
optional string email = 2 [
(buf.validate.field).required = true,
(buf.validate.field).string.email = true
];

// The user's roles.
repeated UserRole roles = 3 [
repeated UserRole roles = 2 [

Check failure on line 21 in accrescent/console/v1/user.proto

View workflow job for this annotation

GitHub Actions / buf

Field "2" on message "User" changed name from "email" to "roles".

Check failure on line 21 in accrescent/console/v1/user.proto

View workflow job for this annotation

GitHub Actions / buf

Field "2" with name "roles" on message "User" changed type from "string" to "enum".
(buf.validate.field).repeated.items.enum.not_in = 0,
(buf.validate.field).repeated.unique = true
];

Check failure on line 24 in accrescent/console/v1/user.proto

View workflow job for this annotation

GitHub Actions / buf

Field "2" with name "roles" on message "User" changed option "json_name" from "email" to "roles".

Check failure on line 24 in accrescent/console/v1/user.proto

View workflow job for this annotation

GitHub Actions / buf

Field "2" with name "roles" on message "User" changed cardinality from "optional with explicit presence" to "repeated".
}

Check failure on line 25 in accrescent/console/v1/user.proto

View workflow job for this annotation

GitHub Actions / buf

Previously present field "3" with name "roles" on message "User" was deleted.
Loading