We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45f9169 commit 067f9b6Copy full SHA for 067f9b6
Sources/UnidocRecords/Vertices/Volume.Vertex.swift
@@ -327,6 +327,10 @@ extension Volume.Vertex:BSONDocumentEncodable
327
bson[.symbol] = self.symbol
328
329
case .meta(let self):
330
+ // This must have a value, otherwise it would get lost among all the file
331
+ // vertices, and queries for it would be very slow.
332
+ bson[.hash] = 0
333
+
334
bson[.stem] = ""
335
bson[.abi] = self.abi
336
bson[.dependencies] = self.dependencies.isEmpty ? nil : self.dependencies
0 commit comments