Use primitive.ObjectId instead of string for subdocuments
Currently, the backend uses go strings with the hex representation of MongoDB ObjectIds in the structs. ObjectIds are only used for primary document Ids. Use primitive.ObjectId
for subdocuments too.
-
Backend adjustments -
Adjust Preset Database