Skip to content

Commit 865c981

Browse files
committed
try deprecating fragment.id, might break stuff
1 parent 9ba12e8 commit 865c981

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

proto/viam/app/v1/app.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,8 @@ message GetRobotAPIKeysResponse {
712712
message DeleteRobotPartResponse {}
713713

714714
message Fragment {
715-
string id = 1 [(tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
715+
// deprecated to instead use the default _id in MongoDB of type ObjectID
716+
string id = 1 [deprecated = true];
716717
string name = 2 [(tagger.v1.tags) = "bson:\"name\" json:\"name\""];
717718
google.protobuf.Struct fragment = 3 [(tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
718719
string organization_owner = 4 [(tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];

0 commit comments

Comments
 (0)