Skip to content

Commit 0ba37a6

Browse files
committed
not going to try changing a string back to an object ID on the app repo side, oof
1 parent 9219bf2 commit 0ba37a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

proto/viam/app/v1/app.proto

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,8 +769,7 @@ message GetRobotAPIKeysResponse {
769769
message DeleteRobotPartResponse {}
770770

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

0 commit comments

Comments
 (0)