From 41b09cc792a0d8670a0219582449ea91e095d6e4 Mon Sep 17 00:00:00 2001 From: Emily Pakulski Date: Mon, 28 Oct 2024 16:38:40 -0400 Subject: [PATCH] not going to try changing a string back to an object ID on the app repo side, oof --- proto/viam/app/v1/app.proto | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/proto/viam/app/v1/app.proto b/proto/viam/app/v1/app.proto index bc05d6810..88617cdd4 100644 --- a/proto/viam/app/v1/app.proto +++ b/proto/viam/app/v1/app.proto @@ -712,8 +712,7 @@ message GetRobotAPIKeysResponse { message DeleteRobotPartResponse {} message Fragment { - // deprecated to instead use the default _id in MongoDB of type ObjectID - string id = 1 [deprecated = true]; + string id = 1 [(tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; string name = 2 [(tagger.v1.tags) = "bson:\"name\" json:\"name\""]; google.protobuf.Struct fragment = 3 [(tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; string organization_owner = 4 [(tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];